mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-29 05:37:45 +00:00
Fixed recent stickers limit
This commit is contained in:
parent
a0e2d25085
commit
2eb8e39d73
@ -132,7 +132,7 @@ bool UseNativeDecorations() {
|
||||
|
||||
rpl::variable<int> gRecentStickersLimit = 20;
|
||||
void SetRecentStickersLimit(int limit) {
|
||||
if (limit >= 0 || limit <= 200) {
|
||||
if (limit >= 0 && limit <= 200) {
|
||||
gRecentStickersLimit = limit;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user