pack: prettier now use space instead of tab
This commit is contained in:
1 parent
2f55889ef8
commit
ab7df03aa3
31 files changed
+705
-706
No files matched your search
@@ -1,13 +1,13 @@
|
||||
import { shell } from 'electron'
|
||||
|
||||
export default class Utils {
|
||||
static getCurrentLocale(): string {
|
||||
return navigator?.language?.split('-')[0] || 'en'
|
||||
}
|
||||
static getCurrentLocale(): string {
|
||||
return navigator?.language?.split('-')[0] || 'en'
|
||||
}
|
||||
|
||||
static async openExternal(url: string): Promise<void> {
|
||||
await shell.openExternal(url)
|
||||
}
|
||||
static async openExternal(url: string): Promise<void> {
|
||||
await shell.openExternal(url)
|
||||
}
|
||||
}
|
||||
|
||||
export const { getCurrentLocale, openExternal } = Utils
|
||||
Reference in new issue
Block a user