mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-22 15:19:10 +00:00
use default text button style for popup key order / hint source buttons
This commit is contained in:
parent
7571890551
commit
9b7eaa4cf2
1 changed files with 2 additions and 2 deletions
|
@ -151,14 +151,14 @@ fun SubtypeDialog(
|
||||||
}
|
}
|
||||||
Row {
|
Row {
|
||||||
TextButton(onClick = { showKeyOrderDialog = true }, Modifier.weight(1f))
|
TextButton(onClick = { showKeyOrderDialog = true }, Modifier.weight(1f))
|
||||||
{ Text(stringResource(R.string.popup_order), style = MaterialTheme.typography.bodyLarge) }
|
{ Text(stringResource(R.string.popup_order)) }
|
||||||
DefaultButton(currentSubtype.getExtraValueOf(ExtraValue.POPUP_ORDER) == null) {
|
DefaultButton(currentSubtype.getExtraValueOf(ExtraValue.POPUP_ORDER) == null) {
|
||||||
setCurrentSubtype(currentSubtype.without(ExtraValue.POPUP_ORDER))
|
setCurrentSubtype(currentSubtype.without(ExtraValue.POPUP_ORDER))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Row {
|
Row {
|
||||||
TextButton(onClick = { showHintOrderDialog = true }, Modifier.weight(1f))
|
TextButton(onClick = { showHintOrderDialog = true }, Modifier.weight(1f))
|
||||||
{ Text(stringResource(R.string.hint_source), style = MaterialTheme.typography.bodyLarge) }
|
{ Text(stringResource(R.string.hint_source)) }
|
||||||
DefaultButton(currentSubtype.getExtraValueOf(ExtraValue.HINT_ORDER) == null) {
|
DefaultButton(currentSubtype.getExtraValueOf(ExtraValue.HINT_ORDER) == null) {
|
||||||
setCurrentSubtype(currentSubtype.without(ExtraValue.HINT_ORDER))
|
setCurrentSubtype(currentSubtype.without(ExtraValue.HINT_ORDER))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue