mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Fix crash
This commit is contained in:
parent
c446ba6e58
commit
90a8a36486
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user