Changed icon for update account transactions

This commit is contained in:
dankito 2024-09-10 00:23:54 +02:00
parent 9e1b1103c2
commit b82ac2e905
1 changed files with 3 additions and 6 deletions

View File

@ -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
}
}
}