fix glide crash in MainActivity (again) (#1394)
This commit is contained in:
parent
cecbb336fe
commit
16bb011f6a
1 changed files with 3 additions and 1 deletions
|
@ -123,8 +123,10 @@ public final class MainActivity extends BottomSheetActivity implements ActionBut
|
||||||
private final EmojiCompat.InitCallback emojiInitCallback = new EmojiCompat.InitCallback() {
|
private final EmojiCompat.InitCallback emojiInitCallback = new EmojiCompat.InitCallback() {
|
||||||
@Override
|
@Override
|
||||||
public void onInitialized() {
|
public void onInitialized() {
|
||||||
|
if(!isDestroyed()) {
|
||||||
updateProfiles();
|
updateProfiles();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue