feat: M3 weighted shuffle v1 — real /api/radio with scoring #21

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