Implement introduction screen.

Fixes #1316.
This commit is contained in:
Dennis Guse
2022-07-10 21:44:16 +02:00
parent 8389f9150a
commit 85a73c3c85
13 changed files with 303 additions and 9 deletions
@@ -197,6 +197,14 @@ public class PreferencesUtils {
return getBoolean(R.string.publicapi_dashboard_enabled_key, resources.getBoolean(R.bool.publicapi_dashboard_enabled_default));
}
public static boolean shouldShowIntroduction() {
return getBoolean(R.string.show_introduction_screen_key, resources.getBoolean(R.bool.show_introduction_screen_default));
}
public static void setShowIntroduction(boolean introduction) {
setBoolean(R.string.show_introduction_screen_key, introduction);
}
public static UnitSystem getUnitSystem() {
final String STATS_UNIT_DEFAULT = resources.getString(R.string.stats_units_default);