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),
|
columns = GridCells.Adaptive(96.dp),
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.fillMaxWidth()
|
.fillMaxWidth()
|
||||||
.padding(bottom = 16.dp, start = 16.dp, end = 16.dp)
|
.padding(bottom = 16.dp)
|
||||||
) {
|
) {
|
||||||
items(shapes) {
|
items(shapes) {
|
||||||
Column(
|
Column(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.padding(8.dp),
|
.padding(vertical = 16.dp),
|
||||||
horizontalAlignment = Alignment.CenterHorizontally
|
horizontalAlignment = Alignment.CenterHorizontally
|
||||||
) {
|
) {
|
||||||
val context = LocalContext.current
|
val context = LocalContext.current
|
||||||
@ -442,12 +442,6 @@ fun IconShapePreference(
|
|||||||
},
|
},
|
||||||
shape = getShape(it)
|
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(
|
val progress by animateLottieCompositionAsState(
|
||||||
composition,
|
composition,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user