Skip to content
Snippets Groups Projects
Commit 63953e09 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixed a bug crashing tablets

parent f08f7f09
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ class ChatActivity : ServiceBoundActivity() {
viewModel.getBuffer().observe(
this, Observer {
if (it != null) {
if (it != null && drawerLayout.isDrawerOpen(Gravity.START)) {
drawerLayout.closeDrawer(Gravity.START, true)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment