mirror of
https://codeberg.org/tom79/Fedilab
synced 2025-01-20 22:46:42 +01:00
Fix #143 - Avoid a crash in conversation activity
This commit is contained in:
parent
9c430e4a22
commit
b96996ddde
@ -78,7 +78,9 @@ public class ContextActivity extends BaseActivity {
|
||||
finish();
|
||||
return;
|
||||
}
|
||||
MastodonHelper.loadPPMastodon(binding.profilePicture, BaseMainActivity.accountWeakReference.get().mastodon_account);
|
||||
if (BaseMainActivity.accountWeakReference.get() != null) {
|
||||
MastodonHelper.loadPPMastodon(binding.profilePicture, BaseMainActivity.accountWeakReference.get().mastodon_account);
|
||||
}
|
||||
Bundle bundle = new Bundle();
|
||||
new Thread(() -> {
|
||||
focusedStatus = SpannableHelper.convertStatus(getApplication().getApplicationContext(), focusedStatus);
|
||||
|
Loading…
Reference in New Issue
Block a user