Disallow opening archived chats if in multiselect.
This commit is contained in:
parent
234f4b4b41
commit
b0d75a8a5a
1 changed files with 4 additions and 2 deletions
|
@ -529,8 +529,10 @@ public class ConversationListFragment extends MainFragment implements ActionMode
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onShowArchiveClick() {
|
public void onShowArchiveClick() {
|
||||||
NavHostFragment.findNavController(this)
|
if (viewModel.currentSelectedConversations().isEmpty()) {
|
||||||
.navigate(ConversationListFragmentDirections.actionConversationListFragmentToConversationListArchiveFragment());
|
NavHostFragment.findNavController(this)
|
||||||
|
.navigate(ConversationListFragmentDirections.actionConversationListFragmentToConversationListArchiveFragment());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue