aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-12-30 16:26:54 -0800
committerAllan Wang <me@allanwang.ca>2019-12-30 16:26:54 -0800
commit5900447070f220654874a975e841a42ee3a85907 (patch)
tree61c34d1458bfd2faab850c8288549c12945fac48 /app/src
parent79dffd9ad1c32a7680f028eb86d1b829c6ad3ebd (diff)
downloadfrost-5900447070f220654874a975e841a42ee3a85907.tar.gz
frost-5900447070f220654874a975e841a42ee3a85907.tar.bz2
frost-5900447070f220654874a975e841a42ee3a85907.zip
Fix nav header switch
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt2
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()