diff options
| author | Jules Aguillon | 2024-02-10 18:03:09 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2024-02-10 18:10:49 +0100 |
| commit | f4d88cc0876ec29ff46dbda0159168ebee637afb (patch) | |
| tree | 72c96a25e03f187307c1e738ca4aeb990ce3ba85 /srcs/juloo.keyboard2/Config.java | |
| parent | d5676d683f031a2d23f4e01e0ada0afd58dc9b89 (diff) | |
| download | unexpected-keyboard-f4d88cc0876ec29ff46dbda0159168ebee637afb.tar.gz unexpected-keyboard-f4d88cc0876ec29ff46dbda0159168ebee637afb.zip | |
Fix various linter warnings
Among others:
- Use `apply` instead of `commit` when saving shared preferences.
- Avoid inlined Api
- Remove unused resources
Diffstat (limited to 'srcs/juloo.keyboard2/Config.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Config.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index a39486d..9f95519 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -435,7 +435,7 @@ public final class Config case 1: default: break; } - e.commit(); + e.apply(); } private static LayoutsPreference.Layout migrate_layout(String name) |
