Fixed crash when showing snackbar message in StartChatFragment

This commit is contained in:
ChronosX88 2019-03-23 16:44:42 +04:00
parent ba0fadbdb1
commit 8e701da329
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A

View File

@ -45,7 +45,9 @@ public class StartChatFragment extends Fragment implements StartChatViewContract
@Override
public void showMessage(String message) {
requireActivity().runOnUiThread(() -> {
Snackbar.make(getView().findViewById(R.id.start_chat_coordinator), message, Snackbar.LENGTH_SHORT).show();
});
}
@Override