feat: M2 likes — full track/album/artist starring (closes M2) #20

Merged
bvandeusen merged 262 commits from dev into main 2026-04-26 23:53:43 -04:00
Showing only changes of commit a87ec770a5 - Show all commits
@@ -27,8 +27,8 @@ class SettingsViewModel @Inject constructor(
) : ViewModel() { ) : ViewModel() {
private val transient = MutableStateFlow(TransientState()) private val transient = MutableStateFlow(TransientState())
private val state_: MutableStateFlow<SettingsState> = MutableStateFlow(SettingsState()) private val internal: MutableStateFlow<SettingsState> = MutableStateFlow(SettingsState())
val state: StateFlow<SettingsState> = state_.asStateFlow() val state: StateFlow<SettingsState> = internal.asStateFlow()
init { init {
// Compose the user-visible state from the auth observables // Compose the user-visible state from the auth observables
@@ -48,7 +48,7 @@ class SettingsViewModel @Inject constructor(
isSigningOut = t.isSigningOut, isSigningOut = t.isSigningOut,
signedOut = t.signedOut, signedOut = t.signedOut,
) )
}.collect { state_.value = it } }.collect { internal.value = it }
} }
} }