fix glide crash in MainActivity (again) (#1394)
This commit is contained in:
parent
cecbb336fe
commit
16bb011f6a
|
@ -123,7 +123,9 @@ public final class MainActivity extends BottomSheetActivity implements ActionBut
|
|||
private final EmojiCompat.InitCallback emojiInitCallback = new EmojiCompat.InitCallback() {
|
||||
@Override
|
||||
public void onInitialized() {
|
||||
updateProfiles();
|
||||
if(!isDestroyed()) {
|
||||
updateProfiles();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue