diff options
| author | Fuwn <[email protected]> | 2026-02-08 00:11:57 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-08 00:11:57 -0800 |
| commit | 6398c56662c9c078db411f382bfac0f3b0803a07 (patch) | |
| tree | f8e67acbb1ebe6c9bc90d84b13ebeaad3d7c7ae6 /apps/web/lib | |
| parent | feat: add appearance option to toggle folders above/below ungrouped feeds in ... (diff) | |
| download | asa.news-6398c56662c9c078db411f382bfac0f3b0803a07.tar.xz asa.news-6398c56662c9c078db411f382bfac0f3b0803a07.zip | |
feat: add option to show favicons next to feed names in entry list
Diffstat (limited to 'apps/web/lib')
| -rw-r--r-- | apps/web/lib/stores/user-interface-store.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/web/lib/stores/user-interface-store.ts b/apps/web/lib/stores/user-interface-store.ts index f25152c..3d3b0b6 100644 --- a/apps/web/lib/stores/user-interface-store.ts +++ b/apps/web/lib/stores/user-interface-store.ts @@ -42,6 +42,7 @@ interface UserInterfaceState { showEntryImages: boolean showReadingTime: boolean showFoldersAboveFeeds: boolean + showEntryFavicons: boolean isShortcutsDialogOpen: boolean expandedFolderIdentifiers: string[] navigableEntryIdentifiers: string[] @@ -67,6 +68,7 @@ interface UserInterfaceState { setShowEntryImages: (show: boolean) => void setShowReadingTime: (show: boolean) => void setShowFoldersAboveFeeds: (show: boolean) => void + setShowEntryFavicons: (show: boolean) => void setShortcutsDialogOpen: (isOpen: boolean) => void toggleShortcutsDialog: () => void toggleFolderExpansion: (folderIdentifier: string) => void @@ -96,6 +98,7 @@ export const useUserInterfaceStore = create<UserInterfaceState>()( showEntryImages: true, showReadingTime: true, showFoldersAboveFeeds: false, + showEntryFavicons: false, isShortcutsDialogOpen: false, expandedFolderIdentifiers: [], navigableEntryIdentifiers: [], @@ -145,6 +148,8 @@ export const useUserInterfaceStore = create<UserInterfaceState>()( setShowFoldersAboveFeeds: (show) => set({ showFoldersAboveFeeds: show }), + setShowEntryFavicons: (show) => set({ showEntryFavicons: show }), + setShortcutsDialogOpen: (isOpen) => set({ isShortcutsDialogOpen: isOpen }), @@ -196,6 +201,7 @@ export const useUserInterfaceStore = create<UserInterfaceState>()( showEntryImages: state.showEntryImages, showReadingTime: state.showReadingTime, showFoldersAboveFeeds: state.showFoldersAboveFeeds, + showEntryFavicons: state.showEntryFavicons, }), } ) |