mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2025-01-27 01:30:10 +01:00
Fix select between
This commit is contained in:
parent
b17d97b8e4
commit
83278a4d76
@ -1927,6 +1927,20 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
||||
continue;
|
||||
}
|
||||
|
||||
if (selectedMessagesIds[0].size() + selectedMessagesIds[1].size() >= 100) {
|
||||
if (message.getId() != begin) {
|
||||
for (int x = 0; x < messages.size(); x++) {
|
||||
MessageObject msg = messages.get(x);
|
||||
if (msg.getId() == begin) {
|
||||
addToSelectedMessages(msg, false, false);
|
||||
addToSelectedMessages(message, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
addToSelectedMessages(message, true);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user