Browse Source

Temp workaround to fix https://github.com/austinhuang0131/barinsta/issues/282

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
465627dd9c
  1. 4
      app/src/main/java/awais/instagrabber/activities/MainActivity.java

4
app/src/main/java/awais/instagrabber/activities/MainActivity.java

@ -208,7 +208,9 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
if (isTaskRoot() && isBackStackEmpty) { if (isTaskRoot() && isBackStackEmpty) {
finishAfterTransition(); finishAfterTransition();
} else { } else {
super.onBackPressed();
try {
super.onBackPressed();
} catch (Exception ignored) {}
} }
} }

Loading…
Cancel
Save