From d341f5bafde464cd06c69adde504f8d2b5aea273 Mon Sep 17 00:00:00 2001 From: qwq233 Date: Fri, 22 Nov 2024 14:36:18 +0800 Subject: [PATCH] fix: wrong default setting for updateStickersOrderOnSend Signed-off-by: qwq233 --- .../src/main/java/org/telegram/messenger/SharedConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TMessagesProj/src/main/java/org/telegram/messenger/SharedConfig.java b/TMessagesProj/src/main/java/org/telegram/messenger/SharedConfig.java index 9b07d6d27..c8fad0ff5 100644 --- a/TMessagesProj/src/main/java/org/telegram/messenger/SharedConfig.java +++ b/TMessagesProj/src/main/java/org/telegram/messenger/SharedConfig.java @@ -273,7 +273,7 @@ private static boolean isWhitelisted(MediaCodecInfo codecInfo) { public static boolean disableVoiceAudioEffects; public static boolean forceDisableTabletMode; public static boolean useLNavigation; - public static boolean updateStickersOrderOnSend = Config.disableStickersAutoReorder; + public static boolean updateStickersOrderOnSend = !Config.disableStickersAutoReorder; public static boolean bigCameraForRound; public static Boolean useCamera2Force; public static boolean useNewBlur; @@ -923,7 +923,7 @@ public static void loadConfig() { dontAskManageStorage = preferences.getBoolean("dontAskManageStorage", false); hasEmailLogin = preferences.getBoolean("hasEmailLogin", false); isFloatingDebugActive = preferences.getBoolean("floatingDebugActive", false); - updateStickersOrderOnSend = Config.disableStickersAutoReorder; + updateStickersOrderOnSend = !Config.disableStickersAutoReorder; dayNightWallpaperSwitchHint = preferences.getInt("dayNightWallpaperSwitchHint", 0); bigCameraForRound = preferences.getBoolean("bigCameraForRound", false); useNewBlur = preferences.getBoolean("useNewBlur", true);