mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-04-30 21:19:33 +00:00
Update to 7.1.3 (2100)
This commit is contained in:
parent
75d0903666
commit
d3ad1316c4
21 changed files with 215 additions and 119 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue