mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
feat: make auto dark theme available for free users
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user