Fixed using scaffoldPadding (otherwise bottom of TransactionList gets cut off)

This commit is contained in:
dankito 2024-09-05 02:05:44 +02:00
parent 5dddf2f8c1
commit 6341be25a5
1 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,5 @@
package net.codinux.banking.ui
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.material.*
@ -82,8 +81,8 @@ fun App() {
)
}
}
) { insets ->
Column(Modifier.fillMaxSize(), horizontalAlignment = Alignment.CenterHorizontally) {
) { scaffoldPadding ->
Column(Modifier.fillMaxSize().padding(scaffoldPadding), horizontalAlignment = Alignment.CenterHorizontally) {
TransactionsList(DI.uiState)
}
}