keep main's setStar when resolving the rebase

The conflict resolution took my side of ItemActions.setStar, which still
suspended and returned Result; main's rework made it a plain action the menu
calls without a coroutine, with the star filled optimistically. Compiles again,
and ItemContextMenuStarTest passes.
This commit is contained in:
austinried
2026-10-04 00:30:03 +00:00
parent 4652430f73
commit 475793059b
@@ -131,7 +131,7 @@ class ItemActions(
val downloadArtist: ((ArtistModel) -> Unit)? = null,
val cancelArtistDownload: ((ArtistModel) -> Unit)? = null,
val deleteArtistDownload: ((ArtistModel) -> Unit)? = null,
val setStar: suspend (StarType, String, Boolean) -> Result<Unit> = { _, _, _ -> Result.success(Unit) },
val setStar: (StarType, String, Boolean) -> Unit = { _, _, _ -> },
val viewAlbum: ((String) -> Unit)? = null,
val viewArtist: ((String) -> Unit)? = null,
)