File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
app/src/main/java/to/bitkit/ui Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ import to.bitkit.ui.scaffold.SheetTopBar
3939import to.bitkit.ui.shared.util.gradientBackground
4040import to.bitkit.ui.theme.AppShapes
4141import to.bitkit.ui.theme.AppThemeSurface
42+ import to.bitkit.ui.theme.ModalSheetTopPadding
4243import to.bitkit.ui.utils.localizedRandom
4344import to.bitkit.viewmodels.AppViewModel
4445
@@ -76,7 +77,7 @@ fun NewTransactionSheet(
7677 modifier = Modifier
7778 .fillMaxSize()
7879 .gradientBackground()
79- .padding(top = 100 .dp )
80+ .padding(top = ModalSheetTopPadding )
8081 ) {
8182 NewTransactionSheetView (
8283 details = details,
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import androidx.compose.runtime.Composable
1111import androidx.compose.runtime.Immutable
1212import androidx.compose.runtime.Stable
1313import androidx.compose.ui.graphics.Color
14+ import androidx.compose.ui.unit.dp
1415
1516@Immutable
1617object AppTextFieldDefaults {
@@ -112,3 +113,5 @@ object AppSwitchDefaults {
112113 uncheckedIconColor = Colors .Gray4 ,
113114 )
114115}
116+
117+ val ModalSheetTopPadding = 125 .dp
You can’t perform that action at this time.
0 commit comments