mirror of https://github.com/TeamNewPipe/NewPipe
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 <stypox@pm.me>
This commit is contained in:
parent
0077a1f51d
commit
319ac463a7
|
@ -170,7 +170,8 @@ public class MainActivity extends AppCompatActivity {
|
|||
NotificationWorker.initialize(this);
|
||||
}
|
||||
if (!UpdateSettingsFragment.wasUserAskedForConsent(this)
|
||||
&& ReleaseVersionUtil.INSTANCE.isReleaseApk()) {
|
||||
&& ReleaseVersionUtil.INSTANCE.isReleaseApk()
|
||||
&& !App.getApp().isFirstRun()) {
|
||||
UpdateSettingsFragment.askForConsentToUpdateChecks(this);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue