mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-08 19:46:10 +01:00
state -> SpecialButtonState state
This commit is contained in:
parent
a854960476
commit
ec77be00dc
1 changed files with 1 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ public final class ExtraKeysView extends GridLayout {
|
|||
|
||||
Button button;
|
||||
if(Arrays.asList("CTRL", "ALT", "FN").contains(buttonText)) {
|
||||
state = specialButtons.get(SpecialButton.valueOf(buttonText)); // for valueOf: https://stackoverflow.com/a/604426/1980630
|
||||
SpecialButtonState state = specialButtons.get(SpecialButton.valueOf(buttonText)); // for valueOf: https://stackoverflow.com/a/604426/1980630
|
||||
state.isOn = true;
|
||||
button = state.button = new ToggleButton(getContext(), null, android.R.attr.buttonBarButtonStyle);
|
||||
button.setClickable(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue