Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

feat: make auto dark theme available for free users

ammarahm-edfe2d68eb6303
diff --git a/apps/mobile/src/components/premium/features.js b/apps/mobile/src/components/premium/features.js
index bd9e30975..c44953298 100644
--- a/apps/mobile/src/components/premium/features.js
+++ b/apps/mobile/src/components/premium/features.js
@@ -207,17 +207,19 @@ export const features = [
{
title: 'Personalize & make Notesnook your own',
detail: 'Change app themes to match your style. Custom themes are coming soon.',
- pro: true,
+
features: [
{
highlight: 'Automatic',
content: 'dark mode',
- icon: 'theme-light-dark'
+ icon: 'theme-light-dark',
+ pro: false
},
{
highlight: 'Change accent',
content: 'color',
- icon: 'invert-colors'
+ icon: 'invert-colors',
+ pro: true
}
]
}
diff --git a/apps/mobile/src/screens/settings/appearance.js b/apps/mobile/src/screens/settings/appearance.js
index 446e3236e..7571376d9 100644
--- a/apps/mobile/src/screens/settings/appearance.js
+++ b/apps/mobile/src/screens/settings/appearance.js
@@ -35,7 +35,6 @@ const SettingsAppearanceSection = () => {
if (SettingsService.get().useSystemTheme) {
await SettingsService.set({ useSystemTheme: false });
} else {
- if (!PremiumService.get()) return;
await SettingsService.set({
useSystemTheme: !SettingsService.get().useSystemTheme,
theme: {