pref: move font loading operation to application startup
This commit is contained in:
parent
aef8830911
commit
30346f7b73
|
@ -30,6 +30,7 @@ const initializing = ref(false)
|
|||
onMounted(async () => {
|
||||
try {
|
||||
initializing.value = true
|
||||
await prefStore.loadFontList()
|
||||
await connectionStore.initConnections()
|
||||
if (prefStore.autoCheckUpdate) {
|
||||
prefStore.checkForUpdate()
|
||||
|
|
|
@ -16,7 +16,6 @@ const initPreferences = async () => {
|
|||
try {
|
||||
loading.value = true
|
||||
tab.value = 'general'
|
||||
await prefStore.loadFontList()
|
||||
await prefStore.loadPreferences()
|
||||
prevPreferences.value = {
|
||||
general: prefStore.general,
|
||||
|
|
Loading…
Reference in New Issue