mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2026-01-25 14:47:05 +00:00
fix typo in attribute
This commit is contained in:
parent
15f31487e7
commit
8eea9ddccc
@ -106,15 +106,15 @@ public class MainActivity extends BaseActivity<MainMvp.View, MainPresenter> impl
|
||||
}
|
||||
|
||||
@Override public void onBackPressed() {
|
||||
boolean clickTwichToExit = !PrefGetter.isTwiceBackButtonDisabled();
|
||||
boolean clickTwiceToExit = !PrefGetter.isTwiceBackButtonDisabled();
|
||||
if (drawerLayout != null) {
|
||||
if (getPresenter().canBackPress(drawerLayout)) {
|
||||
superOnBackPressed(clickTwichToExit);
|
||||
superOnBackPressed(clickTwiceToExit);
|
||||
} else {
|
||||
drawerLayout.closeDrawer(GravityCompat.START);
|
||||
}
|
||||
} else {
|
||||
superOnBackPressed(clickTwichToExit);
|
||||
superOnBackPressed(clickTwiceToExit);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user