Commit 8247ced2 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Null-check to avoid crash when changing fragments

parent 32239224
......@@ -134,7 +134,9 @@ class ChatRoomsFragment : Fragment(), ChatRoomsView {
}
private val dismissStatus = {
connection_status_text.fadeOut()
if (connection_status_text != null) {
connection_status_text.fadeOut()
}
}
private fun setupToolbar() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment