diff --git a/android-app/src/main/java/org/solovyev/android/calculator/preferences/PreferencesActivity.java b/android-app/src/main/java/org/solovyev/android/calculator/preferences/PreferencesActivity.java index 589d522e..3d89b413 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/preferences/PreferencesActivity.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/preferences/PreferencesActivity.java @@ -91,7 +91,7 @@ public class PreferencesActivity extends BasePreferencesActivity { adFreePreference.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() { @Override public boolean onPreferenceClick(Preference preference) { - startActivity(new Intent(getApplicationContext(), PurchaseDialogActivity.class)); + startActivity(new Intent(PreferencesActivity.this, PurchaseDialogActivity.class)); return true; } }); diff --git a/android-app/src/main/res/layout/cpp_wizard_step_choose_theme_preview.xml b/android-app/src/main/res/layout/cpp_wizard_step_choose_theme_preview.xml index dc17bb4e..ef22b4d9 100644 --- a/android-app/src/main/res/layout/cpp_wizard_step_choose_theme_preview.xml +++ b/android-app/src/main/res/layout/cpp_wizard_step_choose_theme_preview.xml @@ -25,6 +25,7 @@