File tree Expand file tree Collapse file tree
app/src/main/java/com/syntaxspin/sakura Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import androidx.compose.ui.layout.*
2121import androidx.compose.ui.text.style.*
2222import androidx.compose.foundation.clickable
2323import androidx.compose.runtime.mutableFloatStateOf
24-
24+ import androidx.compose.material3.*
2525
2626// Local Context
2727import androidx.compose.ui.platform.LocalContext
@@ -262,7 +262,7 @@ fun sliderSyntax(){
262262fun initDropDown (){
263263 var expand by remember {mutableStateOf(false )}
264264 Button (
265- text = " Click Me" ,
265+ Text ( " Click Me" ) ,
266266 onClick = {expand = ! expand}
267267 modifier = Modifier .padding(8 .dp)
268268 )
@@ -271,11 +271,11 @@ fun initDropDown(){
271271 shape = MaterialTheme .shapes.medium,
272272 onDismissRequest= { expand = false }
273273 DropDownMenuItem (
274- text = " SyntaxSpin" ,
274+ Text ( " SyntaxSpin" ) ,
275275 onClick{expand = false }
276276 )
277277 DropDownMenuItem (
278- text = " Jetpack Compose" ,
278+ Text ( " Jetpack Compose" ) ,
279279 onClick{expand = false }
280280 )
281281 )
You can’t perform that action at this time.
0 commit comments