aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/ui
diff options
context:
space:
mode:
authorChristian Schneppe <christian.schneppe@pix-art.de>2019-11-02 16:38:37 +0100
committerChristian Schneppe <christian.schneppe@pix-art.de>2019-11-02 16:39:13 +0100
commitb1f1c773f8a484bd2820b59d883fcc602ddb2ef8 (patch)
tree83445fb0c88d384819526ea30a6afed1d90a3403 /src/main/java/de/pixart/messenger/ui
parentd69583c3f3156aca438a023062632d9d6f6ecc7f (diff)
move some more config variables to match different app modes
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui')
-rw-r--r--src/main/java/de/pixart/messenger/ui/util/IntroHelper.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/util/IntroHelper.java b/src/main/java/de/pixart/messenger/ui/util/IntroHelper.java
index 817551c4f..f4a593739 100644
--- a/src/main/java/de/pixart/messenger/ui/util/IntroHelper.java
+++ b/src/main/java/de/pixart/messenger/ui/util/IntroHelper.java
@@ -6,6 +6,7 @@ import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
+import de.pixart.messenger.Config;
import de.pixart.messenger.ui.IntroActivity;
import static de.pixart.messenger.ui.IntroActivity.ACTIVITY;
@@ -19,7 +20,7 @@ public class IntroHelper {
String INTRO = "intro_shown_on_activity_" + activityname + "_MultiMode_" + mode_multi;
boolean SHOW_INTRO = getPrefs.getBoolean(INTRO, true);
- if (SHOW_INTRO) {
+ if (SHOW_INTRO && Config.SHOW_INTRO) {
final Intent i = new Intent(activity, IntroActivity.class);
i.putExtra(ACTIVITY, activityname);
i.putExtra(MULTICHAT, mode_multi);