fix crash when opening a thread in the browser (#1053)

* fix crash when opening a Thread in the browser

* avoid redundant actionableStatus.getActionableId()
main
Konrad Pozniak 6 years ago committed by GitHub
parent c79daef974
commit d419f82365
  1. 3
      app/src/main/java/com/keylesspalace/tusky/fragment/SFragment.java

@ -98,7 +98,8 @@ public abstract class SFragment extends BaseFragment {
}
protected void viewThread(Status status) {
bottomSheetActivity.viewThread(status.getActionableId(), status.getUrl());
Status actionableStatus = status.getActionableStatus();
bottomSheetActivity.viewThread(actionableStatus.getId(), actionableStatus.getUrl());
}
protected void viewAccount(String accountId) {

Loading…
Cancel
Save