fix(notifications): use the success level for success toasts
The 'Synced N playlists' and 'View link copied' toasts used the default info level, which renders in the accent colour and read as an error/alert. Mark them level:success so they show the green check — clearly positive and theme-independent.
This commit is contained in:
parent
84b56de21e
commit
29696c549c
2 changed files with 2 additions and 2 deletions
|
|
@ -202,7 +202,7 @@ export default function Sidebar({
|
|||
async function shareView() {
|
||||
try {
|
||||
await navigator.clipboard.writeText(shareUrl(filters));
|
||||
notify({ message: t("sidebar.shareCopied") });
|
||||
notify({ level: "success", message: t("sidebar.shareCopied") });
|
||||
} catch {
|
||||
notify({ level: "warning", message: t("sidebar.shareFailed") });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue