This commit is contained in:
Eric85710 2026-07-02 18:47:27 +08:00
parent 033bea2a4e
commit 2ffb00acd7

View file

@ -41,6 +41,7 @@ class AppViewModel @Inject constructor(
private val tokenManager: TokenManager private val tokenManager: TokenManager
) : ViewModel() { ) : ViewModel() {
//screen
private val _currentScreen = MutableStateFlow<AppScreen>(AppScreen.Loading) private val _currentScreen = MutableStateFlow<AppScreen>(AppScreen.Loading)
val currentScreen: StateFlow<AppScreen> = _currentScreen.asStateFlow() val currentScreen: StateFlow<AppScreen> = _currentScreen.asStateFlow()