mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-03 06:20:11 +00:00
Update to 8.3.0
This commit is contained in:
parent
23b70a3882
commit
64c32ace43
197 changed files with 9478 additions and 2944 deletions
|
|
@ -136,6 +136,7 @@ public class SharedConfig {
|
|||
public static int distanceSystemType;
|
||||
public static int mediaColumnsCount = 3;
|
||||
public static int fastScrollHintCount = 3;
|
||||
public static boolean dontAskManageStorage;
|
||||
|
||||
static {
|
||||
loadConfig();
|
||||
|
|
@ -375,6 +376,7 @@ public class SharedConfig {
|
|||
dayNightThemeSwitchHintCount = preferences.getInt("dayNightThemeSwitchHintCount", 3);
|
||||
mediaColumnsCount = preferences.getInt("mediaColumnsCount", 3);
|
||||
fastScrollHintCount = preferences.getInt("fastScrollHintCount", 3);
|
||||
dontAskManageStorage = preferences.getBoolean("dontAskManageStorage", false);
|
||||
|
||||
preferences = ApplicationLoader.applicationContext.getSharedPreferences("Notifications", Activity.MODE_PRIVATE);
|
||||
showNotificationsForAllAccounts = preferences.getBoolean("AllAccounts", true);
|
||||
|
|
@ -1161,4 +1163,9 @@ public class SharedConfig {
|
|||
ApplicationLoader.applicationContext.getSharedPreferences("mainconfig", Activity.MODE_PRIVATE).edit().putInt("fastScrollHintCount", fastScrollHintCount).apply();
|
||||
}
|
||||
}
|
||||
|
||||
public static void setDontAskManageStorage(boolean b) {
|
||||
dontAskManageStorage = b;
|
||||
ApplicationLoader.applicationContext.getSharedPreferences("mainconfig", Activity.MODE_PRIVATE).edit().putBoolean("dontAskManageStorage", dontAskManageStorage).apply();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue