diff --git a/app/src/main/java/com/github/se/assocify/ui/screens/treasury/TreasuryScreen.kt b/app/src/main/java/com/github/se/assocify/ui/screens/treasury/TreasuryScreen.kt index bcac938b4..fafa87423 100644 --- a/app/src/main/java/com/github/se/assocify/ui/screens/treasury/TreasuryScreen.kt +++ b/app/src/main/java/com/github/se/assocify/ui/screens/treasury/TreasuryScreen.kt @@ -1,6 +1,5 @@ package com.github.se.assocify.ui.screens.treasury -import android.util.Log import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.WindowInsets @@ -52,7 +51,7 @@ fun TreasuryScreen(navActions: NavigationActions, treasuryViewModel: TreasuryVie val receiptListViewModel: ReceiptListViewModel = treasuryViewModel.receiptListViewModel val treasuryState by treasuryViewModel.uiState.collectAsState() - val receiptState by receiptListViewModel.uiState.collectAsState() + val receiptState by receiptListViewModel.uiState.collectAsState() val pagerState = rememberPagerState(pageCount = { TreasuryPageIndex.entries.size }) Scaffold( diff --git a/app/src/main/java/com/github/se/assocify/ui/screens/treasury/TreasuryViewModel.kt b/app/src/main/java/com/github/se/assocify/ui/screens/treasury/TreasuryViewModel.kt index ef9f5e17f..007271c16 100644 --- a/app/src/main/java/com/github/se/assocify/ui/screens/treasury/TreasuryViewModel.kt +++ b/app/src/main/java/com/github/se/assocify/ui/screens/treasury/TreasuryViewModel.kt @@ -1,8 +1,5 @@ package com.github.se.assocify.ui.screens.treasury -import com.github.se.assocify.model.CurrentUser -import com.github.se.assocify.model.entities.PermissionRole -import com.github.se.assocify.model.entities.RoleType import androidx.compose.material3.SnackbarHostState import com.github.se.assocify.model.database.AccountingCategoryAPI import com.github.se.assocify.model.database.AccountingSubCategoryAPI