Update to 7.1.3 (2100)

This commit is contained in:
DrKLO 2020-10-05 01:13:31 +03:00
parent 75d0903666
commit d3ad1316c4
21 changed files with 215 additions and 119 deletions

View file

@ -84,7 +84,6 @@ public class SharedConfig {
public static boolean directShare = true;
public static boolean inappCamera = true;
public static boolean roundCamera16to9 = true;
public static boolean assistantSupport = false;
public static boolean noSoundHintShowed = false;
public static boolean streamMedia = true;
public static boolean streamAllVideo = false;
@ -251,7 +250,6 @@ public class SharedConfig {
inappCamera = preferences.getBoolean("inappCamera", true);
hasCameraCache = preferences.contains("cameraCache");
roundCamera16to9 = true;//preferences.getBoolean("roundCamera16to9", false);
assistantSupport = preferences.getBoolean("assistantSupport", false);
repeatMode = preferences.getInt("repeatMode", 0);
fontSize = preferences.getInt("fons_size", AndroidUtilities.isTablet() ? 18 : 16);
bubbleRadius = preferences.getInt("bubbleRadius", 10);
@ -747,14 +745,6 @@ public class SharedConfig {
editor.commit();
}
public static void toggleAssistantSupport() {
assistantSupport = !assistantSupport;
SharedPreferences preferences = MessagesController.getGlobalMainSettings();
SharedPreferences.Editor editor = preferences.edit();
editor.putBoolean("assistantSupport", assistantSupport);
editor.commit();
}
public static void toggleRoundCamera16to9() {
roundCamera16to9 = !roundCamera16to9;
SharedPreferences preferences = MessagesController.getGlobalMainSettings();