Skip to content

Commit

Permalink
🐛 Fix a bug that opens in standalone mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tw93 committed Dec 11, 2023
1 parent 0799ded commit b45ff45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Mac/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1064,9 +1064,7 @@ class ViewController:
let urls = panel.urls
UserDefaultsManagement.singleModePath = urls[0].path
UserDefaultsManagement.isSingleMode = true
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
self.restart()
}
self.restart()
}
}
}
Expand Down

0 comments on commit b45ff45

Please sign in to comment.