Icon shape preference: remove labels
This commit is contained in:
parent
b1851401f2
commit
060cbdc582
@ -409,12 +409,12 @@ fun IconShapePreference(
|
||||
columns = GridCells.Adaptive(96.dp),
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(bottom = 16.dp, start = 16.dp, end = 16.dp)
|
||||
.padding(bottom = 16.dp)
|
||||
) {
|
||||
items(shapes) {
|
||||
Column(
|
||||
modifier = Modifier
|
||||
.padding(8.dp),
|
||||
.padding(vertical = 16.dp),
|
||||
horizontalAlignment = Alignment.CenterHorizontally
|
||||
) {
|
||||
val context = LocalContext.current
|
||||
@ -442,12 +442,6 @@ fun IconShapePreference(
|
||||
},
|
||||
shape = getShape(it)
|
||||
)
|
||||
Text(
|
||||
getShapeName(it) ?: "",
|
||||
textAlign = TextAlign.Center,
|
||||
style = MaterialTheme.typography.labelMedium,
|
||||
modifier = Modifier.padding(top = 4.dp)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -550,15 +544,6 @@ fun LayoutPreference(
|
||||
)
|
||||
)
|
||||
|
||||
/*LaunchedEffect(null) {
|
||||
val drw = LottieDrawable()
|
||||
drw.composition = composition
|
||||
val list = drw.resolveKeyPath(KeyPath("**"))
|
||||
list.forEach {
|
||||
Log.d("MM20", it.keysToString())
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
val progress by animateLottieCompositionAsState(
|
||||
composition,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user