From b82ac2e905761767ee36ba9959054bb3cae4f346 Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 10 Sep 2024 00:23:54 +0200 Subject: [PATCH] Changed icon for update account transactions --- .../net/codinux/banking/ui/appskeleton/BottomBar.kt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/BottomBar.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/BottomBar.kt index 0d92c81..99264d4 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/BottomBar.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/BottomBar.kt @@ -6,10 +6,7 @@ import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.* import androidx.compose.material.icons.Icons -import androidx.compose.material.icons.filled.Close -import androidx.compose.material.icons.filled.Menu -import androidx.compose.material.icons.filled.Refresh -import androidx.compose.material.icons.filled.Search +import androidx.compose.material.icons.filled.* import androidx.compose.runtime.* import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier @@ -141,8 +138,8 @@ fun BottomBar(showMenuDrawer: Boolean = true) { Icon(imageResource(Res.drawable.filter_alt), "Kontoumsätze nach Konto, Zeitraum oder Betrag filtern", Modifier.size(24.dp)) } - IconButton({ coroutineScope.launch { DI.bankingService.updateAccountTransactions() } }, Modifier.width(IconWidth)) { // TODO: use sync, cached or autorenew as icon? - Icon(Icons.Filled.Refresh, contentDescription = "Neue Kontoumsätze abholen") + IconButton({ coroutineScope.launch { DI.bankingService.updateAccountTransactions() } }, Modifier.width(IconWidth)) { + Icon(Icons.Filled.Cached, contentDescription = "Neue Kontoumsätze abholen") // other possible icons: Refresh, sync, autorenew } } }