Skip to content

Commit

Permalink
Disable check promodata
Browse files Browse the repository at this point in the history
  • Loading branch information
et-ness committed May 12, 2024
1 parent 2dcc59e commit 31c1bd8
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9245,7 +9245,7 @@ public void updateTimerProc() {
PushListenerController.sendRegistrationToServer(SharedConfig.pushType, SharedConfig.pushString);
}
getLocationController().update();
checkPromoInfoInternal(false);
//checkPromoInfoInternal(false);
checkTosUpdate();
}

Expand All @@ -9272,9 +9272,10 @@ private void checkTosUpdate() {
}

public void checkPromoInfo(final boolean reset) {
Utilities.stageQueue.postRunnable(() -> checkPromoInfoInternal(reset));
//Utilities.stageQueue.postRunnable(() -> checkPromoInfoInternal(reset));
}

/*
private void checkPromoInfoInternal(boolean reset) {
if (reset && checkingPromoInfo) {
checkingPromoInfo = false;
Expand Down Expand Up @@ -9535,6 +9536,7 @@ private void checkPromoInfoInternal(boolean reset) {
AndroidUtilities.runOnUIThread(this::removePromoDialog);
}
}
*/

private void removePromoDialog() {
if (promoDialog == null) {
Expand Down

0 comments on commit 31c1bd8

Please sign in to comment.