mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-09 20:14:18 +08:00
refactor: use ComponentPadding.None instead no padding
This commit is contained in:
@@ -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() }
|
||||
|
Reference in New Issue
Block a user