mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 10:47:46 +00:00
Guard against fragment disappearing before callback.
// FREEBIE
This commit is contained in:
parent
1ad7912e75
commit
3439657bba
@ -1037,6 +1037,10 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
ConversationFragment fragment = (ConversationFragment) getSupportFragmentManager()
|
||||
.findFragmentById(R.id.fragment_content);
|
||||
|
||||
if (fragment == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (refreshFragment) {
|
||||
fragment.reload(recipients, threadId);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user