This commit is contained in:
kornerr committed 2026-11-05 17:01:58 +03:00
1 parent f714cf44c4
commit b5772432b8
2 files changed
+3 -2

No files matched your search

@@ -9,7 +9,7 @@ struct HPApp: App {
WindowGroup("Hello platform") { WindowGroup("Hello platform") {
HPView(delegate.hpVM) HPView(delegate.hpVM)
.onAppear { .onAppear {
delegate.setWindowIcons() delegate.setup()
} }
} }
} }
@@ -5,9 +5,10 @@ final class HPAppDelegate {
let hp = HPComponent() let hp = HPComponent()
let hpVM = HPVM() let hpVM = HPVM()
init() { func setup() {
otherSetupConsoleLogging(hp.ctrl, "HP") otherSetupConsoleLogging(hp.ctrl, "HP")
hp.setup() hp.setup()
setWindowIcons()
} }
func setWindowIcons() { func setWindowIcons() {