Skip to content

Commit

Permalink
fix(BrowserController): Set unlocked to true by default
Browse files Browse the repository at this point in the history
to avoid showing the unlock prompt in error due to a race condition

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr committed Dec 7, 2023
1 parent a327e76 commit 7d984db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/browser/BrowserController.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export default class BrowserController {

this.alarms = new AlarmManager(this)

this.unlocked = true
this.setEnabled(true)

Controller.singleton = this
Expand Down

0 comments on commit 7d984db

Please sign in to comment.