Fix crash

This commit is contained in:
nielsandriesse 2020-06-23 12:13:27 +10:00
parent c446ba6e58
commit 90a8a36486

View File

@ -428,9 +428,7 @@ public class ConversationFragment extends Fragment
private MessageRecord getSelectedMessageRecord() {
Set<MessageRecord> messageRecords = getListAdapter().getSelectedItems();
if (messageRecords.size() == 1) return messageRecords.iterator().next();
else throw new AssertionError();
return messageRecords.iterator().next();
}
public void reload(Recipient recipient, long threadId) {