From 465627dd9cf1cf190c50a2380a490bd7ce4675fc Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Thu, 19 Nov 2020 01:20:08 +0900 Subject: [PATCH] Temp workaround to fix https://github.com/austinhuang0131/barinsta/issues/282 --- .../main/java/awais/instagrabber/activities/MainActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/awais/instagrabber/activities/MainActivity.java b/app/src/main/java/awais/instagrabber/activities/MainActivity.java index a7e96e9a..4643a3a8 100644 --- a/app/src/main/java/awais/instagrabber/activities/MainActivity.java +++ b/app/src/main/java/awais/instagrabber/activities/MainActivity.java @@ -208,7 +208,9 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage if (isTaskRoot() && isBackStackEmpty) { finishAfterTransition(); } else { - super.onBackPressed(); + try { + super.onBackPressed(); + } catch (Exception ignored) {} } }