diff --git a/app/src/main/java/eu/m724/vastapp/activity/dashboard/screen/Billing.kt b/app/src/main/java/eu/m724/vastapp/activity/dashboard/screen/Billing.kt index d800216..9b90f2c 100644 --- a/app/src/main/java/eu/m724/vastapp/activity/dashboard/screen/Billing.kt +++ b/app/src/main/java/eu/m724/vastapp/activity/dashboard/screen/Billing.kt @@ -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(),