Merge pull request #711 from nextcloud/skipIntroduction

showing introduction screen is now customizable by setup.xml
This commit is contained in:
Andy Scherzinger 2017-03-26 15:55:55 +02:00 committed by GitHub
commit 4e25d84d24
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>