mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-02-16 23:10:11 -05:00
Scrollback: Go only back if there's at least one message
This commit is contained in:
parent
fdbd8a06ca
commit
648ffc8eda
@ -67,7 +67,7 @@ public class Scrollback
|
||||
pointer--;
|
||||
}
|
||||
|
||||
if (messages.size() >= 0) {
|
||||
if (messages.size() > 0) {
|
||||
return messages.get(pointer);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user