File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
app/src/main/java/io/github/sds100/keymapper/constraints Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 66
77- Do not automatically select the key mapper keyboard when the accessibility service starts.
88- #1686 do not show some screens behind system bars on the left/right side of the device.
9+ - Use same sized list items when choosing a constraint.
910
1011## [ 3.1.0] ( https://github.com/sds100/KeyMapper/releases/tag/v3.1.0 )
1112
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ import io.github.sds100.keymapper.R
4949import io.github.sds100.keymapper.compose.KeyMapperTheme
5050import io.github.sds100.keymapper.util.State
5151import io.github.sds100.keymapper.util.ui.compose.ComposeIconInfo
52- import io.github.sds100.keymapper.util.ui.compose.SimpleListItem
52+ import io.github.sds100.keymapper.util.ui.compose.SimpleListItemFixedHeight
5353import io.github.sds100.keymapper.util.ui.compose.SimpleListItemModel
5454import kotlinx.coroutines.flow.update
5555
@@ -246,7 +246,7 @@ private fun ListScreen(
246246 horizontalArrangement = Arrangement .spacedBy(8 .dp),
247247 ) {
248248 items(listItems, key = { it.id }) { model ->
249- SimpleListItem (
249+ SimpleListItemFixedHeight (
250250 modifier = Modifier .fillMaxWidth(),
251251 model = model,
252252 onClick = { onClickAction(model.id) },
@@ -291,12 +291,12 @@ private fun PreviewGrid() {
291291 state = State .Data (
292292 listOf (
293293 SimpleListItemModel (
294- " app " ,
294+ " app1 " ,
295295 title = " App in foreground" ,
296296 icon = ComposeIconInfo .Vector (Icons .Rounded .Android ),
297297 ),
298298 SimpleListItemModel (
299- " app " ,
299+ " app2 " ,
300300 title = " App not in foreground" ,
301301 icon = ComposeIconInfo .Vector (Icons .Rounded .Android ),
302302 subtitle = " Error" ,
You can’t perform that action at this time.
0 commit comments