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

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

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