Просмотр исходного кода

fix(ui): replace Material Icons delete button with Lucide SVG icon

Material Icons font wasn't loading on Raspberry Pi. Lucide React icons
are SVG-based and work reliably across all devices.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
tuanchris 1 неделя назад
Родитель
Сommit
05c2f8464a
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      frontend/src/pages/PlaylistsPage.tsx

+ 2 - 1
frontend/src/pages/PlaylistsPage.tsx

@@ -1,5 +1,6 @@
 import { useState, useEffect, useMemo, useCallback, useRef } from 'react'
 import { toast } from 'sonner'
+import { Trash2 } from 'lucide-react'
 import { apiClient } from '@/lib/apiClient'
 import {
   initPreviewCacheDB,
@@ -602,7 +603,7 @@ export function PlaylistsPage() {
                       handleDeletePlaylist(name)
                     }}
                   >
-                    <span className="material-icons-outlined text-base">delete</span>
+                    <Trash2 className="h-4 w-4" />
                   </Button>
                 </div>
               </div>