mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Initial implementation of remote library system
This commit is contained in:
1 parent
e8a53eee07
commit
e5fb0f0dbb
65 files changed
+6000
-183
No files matched your search
@@ -70,6 +70,8 @@ export function PlatformIcon({
|
||||
// Masks are addressed by id, and one page can show the same mark twice.
|
||||
const mask = `pm-${useId().replace(/:/g, '')}`
|
||||
const Mark = MARKS[platform] ?? MARKS[ALIASES[platform]]
|
||||
// A remote is a way to reach a library, not a platform with a mark of its own.
|
||||
if (platform === 'remote') return <Icon name="server" size={size} className={className} />
|
||||
if (!Mark) return <Icon name="music" size={size} className={className} />
|
||||
return (
|
||||
<svg
|
||||
|
||||
Reference in new issue
Block a user