From 2eb8e39d7369d8c3bf4ed022ea65d80dfb766360 Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Fri, 25 Dec 2020 02:12:58 +0300 Subject: [PATCH] Fixed recent stickers limit --- Telegram/SourceFiles/kotato/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/kotato/settings.cpp b/Telegram/SourceFiles/kotato/settings.cpp index c4ddf4130..00b74a742 100644 --- a/Telegram/SourceFiles/kotato/settings.cpp +++ b/Telegram/SourceFiles/kotato/settings.cpp @@ -132,7 +132,7 @@ bool UseNativeDecorations() { rpl::variable gRecentStickersLimit = 20; void SetRecentStickersLimit(int limit) { - if (limit >= 0 || limit <= 200) { + if (limit >= 0 && limit <= 200) { gRecentStickersLimit = limit; } }