fix(keyboard): update keyboard clear method usage

- replace `unregisterAll` with `clear` to align with updated keyboard API changes
- ensure keyboard actions are handled correctly in app and settings pages

🔧 chore(patches): update keyboard patch to version 3.1.0

- remove old patch file for `wrdu-keyboard@3.0.0`
- add new patch file for `wrdu-keyboard@3.1.0` to apply updates and fixes
This commit is contained in:
PandaDEV 2025-01-10 23:48:23 +10:00
parent ffc42ff547
commit 5ef6d8da77
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C
4 changed files with 192 additions and 133 deletions

View file

@ -15,7 +15,7 @@ const { $settings } = useNuxtApp();
onMounted(async () => {
await listen("settings", async () => {
keyboard.unregisterAll();
keyboard.clear();
await navigateTo("/settings");
await app.show();
await window.getCurrentWindow().show();