Decouple MainAppBar from UiViewModel (#3216)

This commit is contained in:
Phil Oliver 2025-09-26 20:11:57 -04:00 committed by GitHub
parent 6d5e56b34f
commit a8b0327c41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 43 deletions

View file

@ -235,13 +235,6 @@ constructor(
_currentAlert.value = null
}
private val _title = MutableStateFlow("")
val title: StateFlow<String> = _title.asStateFlow()
fun setTitle(title: String) {
viewModelScope.launch { _title.value = title }
}
val meshService: IMeshService?
get() = serviceRepository.meshService