mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 09:17:44 +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() {
|
private MessageRecord getSelectedMessageRecord() {
|
||||||
Set<MessageRecord> messageRecords = getListAdapter().getSelectedItems();
|
Set<MessageRecord> messageRecords = getListAdapter().getSelectedItems();
|
||||||
|
return messageRecords.iterator().next();
|
||||||
if (messageRecords.size() == 1) return messageRecords.iterator().next();
|
|
||||||
else throw new AssertionError();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reload(Recipient recipient, long threadId) {
|
public void reload(Recipient recipient, long threadId) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user