diff options
author | Allan Wang <me@allanwang.ca> | 2019-12-30 16:26:54 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-12-30 16:26:54 -0800 |
commit | 5900447070f220654874a975e841a42ee3a85907 (patch) | |
tree | 61c34d1458bfd2faab850c8288549c12945fac48 /app | |
parent | 79dffd9ad1c32a7680f028eb86d1b829c6ad3ebd (diff) | |
download | frost-5900447070f220654874a975e841a42ee3a85907.tar.gz frost-5900447070f220654874a975e841a42ee3a85907.tar.bz2 frost-5900447070f220654874a975e841a42ee3a85907.zip |
Fix nav header switch
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt index 29222db1..a0f2c080 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt @@ -387,7 +387,7 @@ abstract class BaseMainActivity : BaseActivity(), MainActivityContract, with(drawerWrapperBinding) { drawer.addDrawerListener(object : DrawerLayout.SimpleDrawerListener() { override fun onDrawerClosed(drawerView: View) { - if (drawer !== navigation) return + if (drawerView !== navigation) return if (!pendingUpdate) return pendingUpdate = false binding.updateAccounts() |