Fix "home" icon in split-screen view
@@ -342,6 +342,7 @@ open class MessageList :
messageListFragment!!.setActiveMessage(activeMessage)
}
}
+ setDrawerLockState()
}
}
}
@@ -1444,7 +1445,15 @@ open class MessageList :
messageListFragment!!.setActiveMessage(null)
- if (isDrawerEnabled) {
+ setDrawerLockState()
+
+ showDefaultTitleView()
+ configureMenu(menu)
+ }
+
+ private fun setDrawerLockState() {
+ if (!isDrawerEnabled) return
+
if (isAdditionalMessageListDisplayed) {
lockDrawer()
} else {
@@ -1452,10 +1461,6 @@ open class MessageList :
}
}
- showDefaultTitleView()
- configureMenu(menu)
- }
-
private fun showMessageView() {
displayMode = DisplayMode.MESSAGE_VIEW
