fixed crashes
This commit is contained in:
parent
147a6b479d
commit
b9b764875a
|
@ -671,7 +671,7 @@ public class StatusFragment extends BaseSupportFragment implements LoaderCallbac
|
||||||
}
|
}
|
||||||
|
|
||||||
private void loadConversation(ParcelableStatus status, String sinceId, String maxId) {
|
private void loadConversation(ParcelableStatus status, String sinceId, String maxId) {
|
||||||
if (status == null) return;
|
if (status == null || getActivity() == null) return;
|
||||||
final Bundle args = new Bundle();
|
final Bundle args = new Bundle();
|
||||||
args.putParcelable(EXTRA_ACCOUNT_KEY, status.account_key);
|
args.putParcelable(EXTRA_ACCOUNT_KEY, status.account_key);
|
||||||
args.putString(EXTRA_STATUS_ID, status.is_retweet ? status.retweet_id : status.id);
|
args.putString(EXTRA_STATUS_ID, status.is_retweet ? status.retweet_id : status.id);
|
||||||
|
|
Loading…
Reference in New Issue