diff --git a/src/components/TagSheet.tsx b/src/components/TagSheet.tsx index f2dd9f93..9a91fd99 100644 --- a/src/components/TagSheet.tsx +++ b/src/components/TagSheet.tsx @@ -4,7 +4,7 @@ import { } from 'react-native'; import { useSafeAreaInsets } from 'react-native-safe-area-context'; import { X, Check, Tag } from 'lucide-react-native'; -import { spacing, radius, typography, colors as tokenColors, type ThemePalette } from '../theme/tokens'; +import { spacing, radius, typography, type ThemePalette } from '../theme/tokens'; import { useColors } from '../theme/colors'; import { useSheetDrag } from '../lib/use-sheet-drag'; import { keywordToken, type KeywordDef } from '../stores/keywords-store'; @@ -102,7 +102,7 @@ export function TagSheet({ visible, onClose, keywords, selectedEmails, onToggle keywords.map((kw) => { const token = keywordToken(kw.id); const applied = allHaveToken(token); - const dot = tokenColors.tags[kw.color]?.dot ?? c.primary; + const dot = c.tags[kw.color]?.dot ?? c.primary; return ( onToggle(token, !applied)} style={({ pressed }) => [styles.row, pressed && styles.rowPressed]} > - + {id} {t('email_list.unknown_tag', 'not defined here')} {applied && }