Fixed shortcuts on startup

This commit is contained in:
mr. M 2024-10-18 17:30:50 +02:00
parent e13fa2315e
commit d567e18216
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
2 changed files with 8 additions and 4 deletions

View file

@ -738,6 +738,11 @@ class ZenKeyboardShortcutsVersioner {
}
migrateIfNeeded(data) {
if (!data) {
// Rebuid the shortcuts
this.version = 0;
}
if (this.isVersionUpToDate()) {
return data;
}