make billing tab work with the new viewmodel
This commit is contained in:
parent
f4b3760d84
commit
c8e3635232
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ import eu.m724.vastapp.activity.dashboard.DashboardViewModel
|
|||
fun BillingScreen(dashboardViewModel: DashboardViewModel) {
|
||||
val uiState by dashboardViewModel.uiState.collectAsState()
|
||||
|
||||
val user by remember(uiState) { derivedStateOf { uiState.user } }
|
||||
val user by dashboardViewModel.user.collectAsState()
|
||||
|
||||
Column(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
|
|
Loading…
Reference in a new issue