Fixed recent stickers limit
This commit is contained in:
parent
a0e2d25085
commit
2eb8e39d73
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue