Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
Ivan Grachyov 2021-07-19 01:00:19 +03:00
commit aca15c1135
2 changed files with 11 additions and 2 deletions

View File

@ -10,7 +10,6 @@ struct AccountsService {
static let shared = AccountsService()
func validateAccountInput(_ input: String) -> Bool {
if Mnemonic.isValid(mnemonic: input) {
return true

View File

@ -4,7 +4,17 @@ import Cocoa
struct Window {
private static let browsersBundleIds = Set(["com.apple.Safari", "com.google.Chrome"]) // TODO: support more browsers
private static let browsersBundleIds = Set([
"com.apple.Safari",
"com.google.Chrome",
"org.torproject.torbrowser",
"com.operasoftware.Opera",
"com.microsoft.edgemac",
"com.brave.Browser",
"org.mozilla.firefox",
"com.vivaldi.Vivaldi",
"ru.yandex.desktop.yandex-browser"
])
static func showNew() -> NSWindowController {
closeAll()