965 B
965 B
Fix V23 - Login success navigation
Base: V22 auth-response-fix.
Problem:
- Login could succeed and save the configuration, but the app stayed on LoginScreen.
- In MainActivity,
hasSessionwas computed once as a normal local value, not a Compose state. - After a successful login, the parent navigation was not notified and did not recompose to MainMenu.
Fix:
AppNavigationnow keepshasSessionas mutable Compose state.LoginScreennow acceptsonLoginSuccess.LoginScreentriggersonLoginSuccess()whenuiStatebecomesUiState.Success.- On success, navigation goes to
NavState.MainMenu.
Scope:
- Only MainActivity.kt, LoginScreen.kt and version number changed.
- All V22 login server/auth parsing fixes remain.
- Login input dialog/focus fixes remain.
- No changes to LIVE, replay, player, global search, YouTube, recent LIVE, continue watching, or home scroll.
Version:
- versionCode = 23
- versionName = 2.0.23-login-success-nav