mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Clean up icon shape options
This commit is contained in:
@@ -35,14 +35,10 @@ fun IconShapePreference(
|
||||
listOf<ListPreferenceEntry<IconShape>>(
|
||||
ListPreferenceEntry(systemShape) { stringResource(id = R.string.icon_shape_system) },
|
||||
ListPreferenceEntry(IconShape.Circle) { stringResource(id = R.string.icon_shape_circle) },
|
||||
ListPreferenceEntry(IconShape.Square) { stringResource(id = R.string.icon_shape_square) },
|
||||
ListPreferenceEntry(IconShape.RoundedSquare) { stringResource(id = R.string.icon_shape_rounded_square) },
|
||||
ListPreferenceEntry(IconShape.Cupertino) { stringResource(id = R.string.icon_shape_rounded_square) },
|
||||
ListPreferenceEntry(IconShape.Squircle) { stringResource(id = R.string.icon_shape_squircle) },
|
||||
ListPreferenceEntry(IconShape.Sammy) { stringResource(id = R.string.icon_shape_sammy) },
|
||||
ListPreferenceEntry(IconShape.Teardrop) { stringResource(id = R.string.icon_shape_teardrop) },
|
||||
ListPreferenceEntry(IconShape.Cylinder) { stringResource(id = R.string.icon_shape_cylinder) },
|
||||
ListPreferenceEntry(IconShape.Cupertino) { stringResource(id = R.string.icon_shape_cupertino) },
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
val adapter = preferenceManager2().iconShape.getAdapter()
|
||||
|
||||
Reference in New Issue
Block a user