remove transformations

pull/3/head
Vitor Pamplona 2023-01-19 17:55:37 -05:00
rodzic c5c8ffc70f
commit 98704bc43d
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -70,9 +70,9 @@ data class TabRowItem(
@Composable
fun ProfileScreen(userId: String?, accountViewModel: AccountViewModel, navController: NavController) {
val accountState by accountViewModel.accountLiveData.observeAsState()
val account = accountState?.account
val account = accountState?.account ?: return
val accountUserState by accountViewModel.userLiveData.observeAsState()
val accountUserState by account.userProfile().live.observeAsState()
val accountUser = accountUserState?.user
if (userId != null && account != null && accountUser != null) {