From c5a637de780aae7aa409c23ace5cd829c4eddac9 Mon Sep 17 00:00:00 2001 From: serso Date: Sun, 21 Feb 2016 19:19:21 +0100 Subject: [PATCH] Theme fix --- .../java/org/solovyev/android/calculator/Preferences.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/main/java/org/solovyev/android/calculator/Preferences.java b/app/src/main/java/org/solovyev/android/calculator/Preferences.java index 0a4ed61c..d71ee429 100644 --- a/app/src/main/java/org/solovyev/android/calculator/Preferences.java +++ b/app/src/main/java/org/solovyev/android/calculator/Preferences.java @@ -39,7 +39,6 @@ import jscl.NumeralBase; import org.solovyev.android.Check; import org.solovyev.android.calculator.language.Languages; import org.solovyev.android.calculator.math.MathType; -import org.solovyev.android.calculator.preferences.PurchaseDialogActivity; import org.solovyev.android.calculator.wizard.WizardActivity; import org.solovyev.android.prefs.*; @@ -329,14 +328,11 @@ public final class Preferences { public int getThemeFor(@Nullable Context context) { if (context instanceof CalculatorActivity) { - return wizardTheme; + return mainTheme; } if (context instanceof WizardActivity) { return wizardTheme; } - if (context instanceof PurchaseDialogActivity) { - return dialogTheme; - } return theme; }