Fixed crash

pull/50/head
M66B 6 years ago
parent cb25ccc175
commit 0fcaad281d

@ -404,7 +404,6 @@ public class FragmentMessage extends FragmentEx {
bottom_navigation.setVisibility(View.VISIBLE); bottom_navigation.setVisibility(View.VISIBLE);
} }
}); });
}
if (savedInstanceState != null) { if (savedInstanceState != null) {
free = savedInstanceState.getBoolean("free"); free = savedInstanceState.getBoolean("free");
@ -421,6 +420,7 @@ public class FragmentMessage extends FragmentEx {
tvError.setVisibility(free || message.error == null ? View.GONE : View.VISIBLE); tvError.setVisibility(free || message.error == null ? View.GONE : View.VISIBLE);
fab.setVisibility(free ? View.GONE : View.VISIBLE); fab.setVisibility(free ? View.GONE : View.VISIBLE);
} }
}
}); });
// Observe attachments // Observe attachments

Loading…
Cancel
Save