refactor: use ComponentPadding.None instead no padding

This commit is contained in:
2024-01-16 23:39:23 +08:00
parent 44b065972e
commit 2162830420
3 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ private fun FlexiDemoTheme(content: @Composable () -> Unit) {
fun App() {
FlexiDemoTheme {
// Surface will keep the content background color when animation.
Surface(padding = ComponentPadding()) {
Surface(padding = ComponentPadding.None) {
Screen(Screen.Main) { MainScreen() }
Screen(Screen.Secondary) { SecondaryScreen() }
Screen(Screen.LazyList) { LazyListScreen() }