Skip to content

Commit 56fb31d

Browse files
authored
Merge pull request #13292 from dustdfg/kao_release_only
2 parents 9f1e2c6 + 042f946 commit 56fb31d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/MainActivity.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,11 @@ protected void onCreate(final Bundle savedInstanceState) {
200200
UpdateSettingsFragment.askForConsentToUpdateChecks(this);
201201
}
202202

203-
showKeepAndroidDialog();
203+
// ReleaseVersionUtil.INSTANCE.isReleaseApk() will be true only for main official build
204+
// We want every release build (nightly, nightly-refactor) to show the popup
205+
if (!DEBUG) {
206+
showKeepAndroidDialog();
207+
}
204208

205209
MigrationManager.showUserInfoIfPresent(this);
206210
}

0 commit comments

Comments
 (0)