mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
Fixed recent stickers limit
This commit is contained in:
@@ -132,7 +132,7 @@ bool UseNativeDecorations() {
|
|||||||
|
|
||||||
rpl::variable<int> gRecentStickersLimit = 20;
|
rpl::variable<int> gRecentStickersLimit = 20;
|
||||||
void SetRecentStickersLimit(int limit) {
|
void SetRecentStickersLimit(int limit) {
|
||||||
if (limit >= 0 || limit <= 200) {
|
if (limit >= 0 && limit <= 200) {
|
||||||
gRecentStickersLimit = limit;
|
gRecentStickersLimit = limit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user