mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-12-12 15:06:30 +00:00
Temp workaround to fix https://github.com/austinhuang0131/barinsta/issues/282
This commit is contained in:
parent
5fdeeb7301
commit
465627dd9c
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue