Skip to content

Commit fd567f4

Browse files
TobiGrStypox
andauthored
Show consent banner on second app start
Showing it on the first app start contributes to a bad onboarding an welcoming experience. Co-authored-by: Stypox <[email protected]>
1 parent 9a3c96c commit fd567f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ protected void onCreate(final Bundle savedInstanceState) {
170170
NotificationWorker.initialize(this);
171171
}
172172
if (!UpdateSettingsFragment.wasUserAskedForConsent(this)
173-
&& ReleaseVersionUtil.INSTANCE.isReleaseApk()) {
173+
&& ReleaseVersionUtil.INSTANCE.isReleaseApk()
174+
&& !App.getApp().isFirstRun()) {
174175
UpdateSettingsFragment.askForConsentToUpdateChecks(this);
175176
}
176177
}

0 commit comments

Comments
 (0)