File tree 1 file changed +13
-21
lines changed
app/src/main/java/com/orange/ouds/app/ui/components/coloredbackground
1 file changed +13
-21
lines changed Original file line number Diff line number Diff line change @@ -70,29 +70,21 @@ fun ColoredBackgroundDemoScreen() = DemoScreen(rememberColoredBackgroundDemoStat
70
70
}
71
71
)
72
72
}
73
- ) { innerPadding ->
74
- Column (
75
- modifier = Modifier
76
- .fillMaxWidth()
77
- .verticalScroll(rememberScrollState())
78
- .consumeWindowInsets(innerPadding)
79
- .padding(innerPadding)
80
- ) {
81
- DetailScreenDescription (
82
- modifier = Modifier .padding(all = OudsTheme .spaces.fixed.medium),
83
- descriptionRes = Component .ColoredBackground .descriptionRes
84
- )
73
+ ) {
74
+ DetailScreenDescription (
75
+ modifier = Modifier .padding(all = OudsTheme .spaces.fixed.medium),
76
+ descriptionRes = Component .ColoredBackground .descriptionRes
77
+ )
78
+ ColoredBackgroundDemo (state = this @DemoScreen)
79
+ OudsThemeTweak (OudsTheme .Tweak .Invert ) {
85
80
ColoredBackgroundDemo (state = this @DemoScreen)
86
- OudsThemeTweak (OudsTheme .Tweak .Invert ) {
87
- ColoredBackgroundDemo (state = this @DemoScreen)
88
- }
89
- ColoredBackgroundDemoCodeSnippet (
90
- state = this @DemoScreen,
91
- modifier = Modifier
92
- .padding(all = OudsTheme .spaces.fixed.medium)
93
- .padding(top = OudsTheme .spaces.fixed.medium)
94
- )
95
81
}
82
+ ColoredBackgroundDemoCodeSnippet (
83
+ state = this @DemoScreen,
84
+ modifier = Modifier
85
+ .padding(all = OudsTheme .spaces.fixed.medium)
86
+ .padding(top = OudsTheme .spaces.fixed.medium)
87
+ )
96
88
}
97
89
}
98
90
You can’t perform that action at this time.
0 commit comments