kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix NPE when operating on multiple conversations in batch mode.
rodzic
182c758d35
commit
f99ff32947
|
@ -853,7 +853,7 @@ public class ConversationListFragment extends MainFragment implements ActionMode
|
|||
alert.setCancelable(true);
|
||||
|
||||
alert.setPositiveButton(R.string.delete, (dialog, which) -> {
|
||||
final Set<Long> selectedConversations = defaultAdapter.getBatchSelectionIds();
|
||||
final Set<Long> selectedConversations = new HashSet<>(defaultAdapter.getBatchSelectionIds());
|
||||
|
||||
if (!selectedConversations.isEmpty()) {
|
||||
new AsyncTask<Void, Void, Void>() {
|
||||
|
|
Ładowanie…
Reference in New Issue