mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Mark changes.
This commit is contained in:
@@ -49,7 +49,7 @@ public class ContactsController {
|
||||
private boolean contactsBookLoaded = false;
|
||||
private String lastContactsVersions = "";
|
||||
private ArrayList<Integer> delayedContactsUpdate = new ArrayList<>();
|
||||
//private String inviteText;
|
||||
//private String inviteText; // EDIT BY ME
|
||||
//private boolean updatingInviteText = false;
|
||||
private HashMap<String, String> sectionsToReplace = new HashMap<>();
|
||||
|
||||
@@ -166,7 +166,7 @@ public class ContactsController {
|
||||
privacyRules = null;
|
||||
}
|
||||
|
||||
/*
|
||||
/* // EDIT BY ME
|
||||
public void checkInviteText() {
|
||||
SharedPreferences preferences = ApplicationLoader.applicationContext.getSharedPreferences("mainconfig", Activity.MODE_PRIVATE);
|
||||
inviteText = preferences.getString("invitetext", null);
|
||||
@@ -201,10 +201,10 @@ public class ContactsController {
|
||||
}, ConnectionsManager.RequestFlagFailOnServerErrors);
|
||||
}
|
||||
}
|
||||
*/
|
||||
EDIT BY ME*/
|
||||
|
||||
public String getInviteText() {
|
||||
return /*inviteText != null ? inviteText :*/ LocaleController.getString("InviteText", R.string.InviteText);
|
||||
return /* EDIT BY ME inviteText != null ? inviteText :*/ LocaleController.getString("InviteText", R.string.InviteText);
|
||||
}
|
||||
|
||||
public void checkAppAccount() {
|
||||
|
||||
@@ -17335,7 +17335,7 @@ public class TLRPC {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/* EDIT BY ME
|
||||
public static class TL_help_getInviteText extends TLObject {
|
||||
public static int constructor = 0xa4a95186;
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ public class ContactsActivity extends BaseFragment implements NotificationCenter
|
||||
needPhonebook = true;
|
||||
}
|
||||
|
||||
//ContactsController.getInstance().checkInviteText();
|
||||
//ContactsController.getInstance().checkInviteText(); // EDIT BY ME
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -153,7 +153,7 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter.
|
||||
|
||||
if (!dialogsLoaded) {
|
||||
MessagesController.getInstance().loadDialogs(0, 100, true);
|
||||
//ContactsController.getInstance().checkInviteText();
|
||||
//ContactsController.getInstance().checkInviteText(); // EDIT BY ME
|
||||
dialogsLoaded = true;
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -144,9 +144,9 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
||||
private int sendByEnterRow;
|
||||
private int supportSectionRow;
|
||||
private int supportSectionRow2;
|
||||
//private int askQuestionRow;
|
||||
//private int askQuestionRow;// EDIT BY ME
|
||||
private int telegramFaqRow;
|
||||
//private int privacyPolicyRow;
|
||||
//private int privacyPolicyRow;// EDIT BY ME
|
||||
private int sendLogsRow;
|
||||
private int clearLogsRow;
|
||||
private int switchBackendButtonRow;
|
||||
|
||||
Reference in New Issue
Block a user