mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 17:19:58 +02:00
Fixed shortcuts on startup
This commit is contained in:
parent
e13fa2315e
commit
d567e18216
2 changed files with 8 additions and 4 deletions
|
@ -738,6 +738,11 @@ class ZenKeyboardShortcutsVersioner {
|
|||
}
|
||||
|
||||
migrateIfNeeded(data) {
|
||||
if (!data) {
|
||||
// Rebuid the shortcuts
|
||||
this.version = 0;
|
||||
}
|
||||
|
||||
if (this.isVersionUpToDate()) {
|
||||
return data;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue