1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2025-01-27 23:19:27 +01:00

fixed crashes

This commit is contained in:
Mariotaku Lee 2016-04-19 16:01:58 +08:00
parent 147a6b479d
commit b9b764875a

View File

@ -671,7 +671,7 @@ public class StatusFragment extends BaseSupportFragment implements LoaderCallbac
}
private void loadConversation(ParcelableStatus status, String sinceId, String maxId) {
if (status == null) return;
if (status == null || getActivity() == null) return;
final Bundle args = new Bundle();
args.putParcelable(EXTRA_ACCOUNT_KEY, status.account_key);
args.putString(EXTRA_STATUS_ID, status.is_retweet ? status.retweet_id : status.id);