2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fixed recent stickers limit

This commit is contained in:
RadRussianRus
2020-12-25 02:12:58 +03:00
parent a0e2d25085
commit 2eb8e39d73

View File

@@ -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;
}
}