Update to Fluxon 2.0

Address required changes and immediate deprecations
This commit is contained in:
Claudio Ortolina
2025-08-20 16:09:53 +03:00
parent 0ed420acb3
commit 71ca5fa1b9
15 changed files with 24 additions and 28 deletions
@@ -290,12 +290,12 @@ defmodule MusicLibraryWeb.BarcodeScannerComponent do
{gettext("New")}
</.badge>
<.link :if={@status == :wishlisted} navigate={~p"/wishlist/#{@record_id}"}>
<.badge color="yellow">
<.badge color="warning">
{gettext("Wishlisted")}
</.badge>
</.link>
<.link :if={@status == :collected} navigate={~p"/collection/#{@record_id}"}>
<.badge color="green">
<.badge color="success">
{gettext("Collected")}
</.badge>
</.link>
@@ -52,7 +52,7 @@ defmodule MusicLibraryWeb.ReleaseComponent do
>
{gettext("Scrobble release")}
</.button>
<.button :if={!@can_scrobble?} as="link" size="sm" href={LastFm.auth_url()}>
<.button :if={!@can_scrobble?} size="sm" href={LastFm.auth_url()}>
{gettext("Connect your Last.fm account")}
</.button>
</div>