From 1875ccaffdafc30d88e410e2fe75d5462e4c6181 Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Fri, 28 Apr 2023 21:04:00 +0200 Subject: [PATCH] feat: reversed initialization module order when running the app for the first time --- Stats/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Stats/AppDelegate.swift b/Stats/AppDelegate.swift index 1e2dd543..20d5c591 100755 --- a/Stats/AppDelegate.swift +++ b/Stats/AppDelegate.swift @@ -62,7 +62,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele self.parseVersion() SMCHelper.shared.checkForUpdate() self.setup { - modules.forEach{ $0.mount() } + modules.reversed().forEach{ $0.mount() } self.settingsWindow.setModules() } self.defaultValues()