diff --git a/src/Applications/UI/Tracks/State.elm b/src/Applications/UI/Tracks/State.elm index 37efb9ec..dcc1015b 100644 --- a/src/Applications/UI/Tracks/State.elm +++ b/src/Applications/UI/Tracks/State.elm @@ -362,16 +362,7 @@ harvestCovers model = model.covers |> Covers.harvest model.selectedCover model.sortBy model.tracks |> (\( c, s ) -> { model | covers = c, selectedCover = s }) - |> Return.communicate - (Ports.loadAlbumCovers ()) - |> andThen - (case model.scene of - Covers -> - Common.forceTracksRerender - - List -> - Return.singleton - ) + |> Return.communicate (Ports.loadAlbumCovers ()) infiniteListMsg : InfiniteList.Model -> Manager diff --git a/src/Applications/UI/User/State/Import.elm b/src/Applications/UI/User/State/Import.elm index 5a284bb2..b8b36e39 100644 --- a/src/Applications/UI/User/State/Import.elm +++ b/src/Applications/UI/User/State/Import.elm @@ -58,6 +58,7 @@ importJson json model = -- Clear tracks cache |> andThen Tracks.clearCache -- Redirect to index page + |> andThen Common.forceTracksRerender |> andThen (Common.changeUrlUsingPage Page.Index) ----------------------------- -- Save all the imported data