mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-03 07:01:05 +01:00
Disallow opening archived chats if in multiselect.
This commit is contained in:
committed by
Cody Henthorne
parent
234f4b4b41
commit
b0d75a8a5a
@@ -529,9 +529,11 @@ public class ConversationListFragment extends MainFragment implements ActionMode
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onShowArchiveClick() {
|
public void onShowArchiveClick() {
|
||||||
|
if (viewModel.currentSelectedConversations().isEmpty()) {
|
||||||
NavHostFragment.findNavController(this)
|
NavHostFragment.findNavController(this)
|
||||||
.navigate(ConversationListFragmentDirections.actionConversationListFragmentToConversationListArchiveFragment());
|
.navigate(ConversationListFragmentDirections.actionConversationListFragmentToConversationListArchiveFragment());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onContactClicked(@NonNull Recipient contact) {
|
public void onContactClicked(@NonNull Recipient contact) {
|
||||||
|
|||||||
Reference in New Issue
Block a user