feat: make auto dark theme available for free users

This commit is contained in:
ammarahm-ed
2022-03-08 15:15:54 +05:00
parent 876a006fae
commit fe2d68eb63
2 changed files with 5 additions and 4 deletions

View File

@@ -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
}
]
}

View File

@@ -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: {