update to 11.0.0 (5143)

This commit is contained in:
dkaraush 2024-08-14 16:33:13 +04:00
parent 5fa5549a4a
commit 3409cb1c72
362 changed files with 36051 additions and 7184 deletions

View file

@ -46,6 +46,7 @@ public class UserConfig extends BaseController {
public TLRPC.TL_account_tmpPassword tmpPassword;
public int ratingLoadTime;
public int botRatingLoadTime;
public int webappRatingLoadTime;
public boolean contactsReimported;
public boolean hasValidDialogLoadIds;
public int migrateOffsetId = -1;
@ -154,6 +155,7 @@ public class UserConfig extends BaseController {
editor.putBoolean("unreadDialogsLoaded", unreadDialogsLoaded);
editor.putInt("ratingLoadTime", ratingLoadTime);
editor.putInt("botRatingLoadTime", botRatingLoadTime);
editor.putInt("webappRatingLoadTime", webappRatingLoadTime);
editor.putBoolean("contactsReimported", contactsReimported);
editor.putInt("loginTime", loginTime);
editor.putBoolean("syncContacts", syncContacts);
@ -298,6 +300,7 @@ public class UserConfig extends BaseController {
contactsReimported = preferences.getBoolean("contactsReimported", false);
ratingLoadTime = preferences.getInt("ratingLoadTime", 0);
botRatingLoadTime = preferences.getInt("botRatingLoadTime", 0);
webappRatingLoadTime = preferences.getInt("webappRatingLoadTime", 0);
loginTime = preferences.getInt("loginTime", currentAccount);
syncContacts = preferences.getBoolean("syncContacts", true);
suggestContacts = preferences.getBoolean("suggestContacts", true);
@ -466,6 +469,7 @@ public class UserConfig extends BaseController {
migrateOffsetAccess = -1;
ratingLoadTime = 0;
botRatingLoadTime = 0;
webappRatingLoadTime = 0;
draftsLoaded = false;
contactsReimported = true;
syncContacts = true;