fix glide crash in MainActivity (again) (#1394)

main
Konrad Pozniak 5 years ago committed by GitHub
parent 494915176f
commit 95de73e873
  1. 2
      app/src/main/java/com/keylesspalace/tusky/MainActivity.java

@ -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…
Cancel
Save