diff --git a/lib/music_library_web/components/record_form.ex b/lib/music_library_web/components/record_form.ex index 1aa69410..19ca625f 100644 --- a/lib/music_library_web/components/record_form.ex +++ b/lib/music_library_web/components/record_form.ex @@ -605,9 +605,6 @@ defmodule MusicLibraryWeb.Components.RecordForm do else {:error, %Ecto.Changeset{} = changeset} -> {:noreply, assign(socket, form: to_form(changeset))} - - {:error, _reason} -> - {:noreply, put_toast(socket, :error, gettext("Failed to store cover image"))} end end diff --git a/lib/music_library_web/live/artist_live/form.ex b/lib/music_library_web/live/artist_live/form.ex index e3276c36..5d72f4a8 100644 --- a/lib/music_library_web/live/artist_live/form.ex +++ b/lib/music_library_web/live/artist_live/form.ex @@ -323,10 +323,6 @@ defmodule MusicLibraryWeb.ArtistLive.Form do else {:error, %Ecto.Changeset{} = changeset} -> {:noreply, assign(socket, form: to_form(changeset))} - - {:error, _reason} -> - put_toast!(:error, gettext("Failed to store artist image")) - {:noreply, socket} end end diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index a9935130..69839428 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -1953,16 +1953,6 @@ msgstr "" msgid "Refresh Last.fm data" msgstr "" -#: lib/music_library_web/live/artist_live/form.ex -#, elixir-autogen, elixir-format -msgid "Failed to store artist image" -msgstr "" - -#: lib/music_library_web/components/record_form.ex -#, elixir-autogen, elixir-format -msgid "Failed to store cover image" -msgstr "" - #: lib/music_library_web/live_helpers/record_actions.ex #, elixir-autogen, elixir-format msgid "Colors extracted" diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index 452b7f9f..7f650513 100644 --- a/priv/gettext/en/LC_MESSAGES/default.po +++ b/priv/gettext/en/LC_MESSAGES/default.po @@ -1953,16 +1953,6 @@ msgstr "" msgid "Refresh Last.fm data" msgstr "" -#: lib/music_library_web/live/artist_live/form.ex -#, elixir-autogen, elixir-format, fuzzy -msgid "Failed to store artist image" -msgstr "" - -#: lib/music_library_web/components/record_form.ex -#, elixir-autogen, elixir-format, fuzzy -msgid "Failed to store cover image" -msgstr "" - #: lib/music_library_web/live_helpers/record_actions.ex #, elixir-autogen, elixir-format msgid "Colors extracted"