From 6e28103c8eecadf55219efd004d80eed66f174a1 Mon Sep 17 00:00:00 2001 From: joashrajin Date: Tue, 14 Jul 2026 16:05:18 +0200 Subject: [PATCH] Unlock styles via isPremium default now that Sustainer is discontinued Per review feedback, the minimal change: default PrefUtils.isPremium to true (pref_key_premium was never written anywhere, so no device has a stored value) and make the Style preference row visible in Settings. Fixes #1771 Fixes #1661 --- RELEASE-NOTES.txt | 1 + .../main/java/com/automattic/simplenote/utils/PrefUtils.java | 2 +- Simplenote/src/main/res/xml/preferences.xml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 8f2cc3b58..76c3cdda9 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,5 +1,6 @@ 2.39 ----- +* Unlocked all styles, including the pure-black AMOLED style, for everyone now that Simplenote Sustainer is discontinued [#1771](https://github.com/Automattic/simplenote-android/issues/1771) [#1661](https://github.com/Automattic/simplenote-android/issues/1661) 2.38 ----- diff --git a/Simplenote/src/main/java/com/automattic/simplenote/utils/PrefUtils.java b/Simplenote/src/main/java/com/automattic/simplenote/utils/PrefUtils.java index 1fb3072a0..c7e93f218 100644 --- a/Simplenote/src/main/java/com/automattic/simplenote/utils/PrefUtils.java +++ b/Simplenote/src/main/java/com/automattic/simplenote/utils/PrefUtils.java @@ -168,7 +168,7 @@ public static CharSequence versionInfo() { } public static boolean isPremium(Context context) { - return getPrefs(context).getBoolean(PREF_PREMIUM, false); + return getPrefs(context).getBoolean(PREF_PREMIUM, true); } public static void setIsPremium(Context context, boolean isPremium) { diff --git a/Simplenote/src/main/res/xml/preferences.xml b/Simplenote/src/main/res/xml/preferences.xml index 57fed7f93..aab95ad33 100644 --- a/Simplenote/src/main/res/xml/preferences.xml +++ b/Simplenote/src/main/res/xml/preferences.xml @@ -54,7 +54,7 @@ android:key="pref_key_style" android:summary="%s" android:title="@string/style" - app:isPreferenceVisible="false" + app:isPreferenceVisible="true" tools:summary="@string/style_classic">