mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-04-30 21:19:33 +00:00
Update to 7.1.0 (2090)
This commit is contained in:
parent
e33a2fbedc
commit
1139e12ef1
6026 changed files with 184267 additions and 29250 deletions
|
|
@ -84,12 +84,13 @@ 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;
|
||||
public static boolean streamMkv = false;
|
||||
public static boolean saveStreamMedia = true;
|
||||
public static boolean smoothKeyboard = false;
|
||||
public static boolean smoothKeyboard = true;
|
||||
public static boolean pauseMusicOnRecord = true;
|
||||
public static boolean sortContactsByName;
|
||||
public static boolean sortFilesByName;
|
||||
|
|
@ -250,6 +251,7 @@ 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);
|
||||
|
|
@ -258,7 +260,7 @@ public class SharedConfig {
|
|||
useSystemEmoji = preferences.getBoolean("useSystemEmoji", false);
|
||||
streamMedia = preferences.getBoolean("streamMedia", true);
|
||||
saveStreamMedia = preferences.getBoolean("saveStreamMedia", true);
|
||||
smoothKeyboard = preferences.getBoolean("smoothKeyboard", false);
|
||||
smoothKeyboard = preferences.getBoolean("smoothKeyboard2", true);
|
||||
pauseMusicOnRecord = preferences.getBoolean("pauseMusicOnRecord", true);
|
||||
streamAllVideo = preferences.getBoolean("streamAllVideo", BuildVars.DEBUG_VERSION);
|
||||
streamMkv = preferences.getBoolean("streamMkv", false);
|
||||
|
|
@ -725,7 +727,7 @@ public class SharedConfig {
|
|||
smoothKeyboard = !smoothKeyboard;
|
||||
SharedPreferences preferences = MessagesController.getGlobalMainSettings();
|
||||
SharedPreferences.Editor editor = preferences.edit();
|
||||
editor.putBoolean("smoothKeyboard", smoothKeyboard);
|
||||
editor.putBoolean("smoothKeyboard2", smoothKeyboard);
|
||||
editor.commit();
|
||||
}
|
||||
|
||||
|
|
@ -745,6 +747,14 @@ 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