showing introduction screen is now customizable by setup.xml, enabled by default

This commit is contained in:
tobiasKaminsky 2017-03-03 17:27:59 +01:00 committed by AndyScherzinger
parent 7a899b0737
commit 354e008665
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
2 changed files with 5 additions and 1 deletions

View file

@ -152,6 +152,10 @@ public class WhatsNewActivity extends FragmentActivity implements ViewPager.OnPa
}
static public void runIfNeeded(Context context) {
if (!context.getResources().getBoolean(R.bool.show_whats_new)) {
return;
}
if (context instanceof WhatsNewActivity) {
return;
}

View file

@ -36,7 +36,7 @@
<string name = "send_files_to_other_apps">on</string>
<bool name = "share_via_link_feature">true</bool>
<bool name = "share_with_users_feature">true</bool>
<bool name="show_whats_new">true</bool>
<!-- Colors -->
<color name="login_text_color">@color/white</color>