From b5772432b8422cfc7e32dcaff4732f3207f3a07a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Thu, 5 Nov 2026 17:01:58 +0300 Subject: [PATCH] ic --- hello/hello-platform/ver-windows/src/HPApp.swift | 2 +- hello/hello-platform/ver-windows/src/HPAppDelegate.swift | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hello/hello-platform/ver-windows/src/HPApp.swift b/hello/hello-platform/ver-windows/src/HPApp.swift index 58159e0..e634e1d 100644 --- a/hello/hello-platform/ver-windows/src/HPApp.swift +++ b/hello/hello-platform/ver-windows/src/HPApp.swift @@ -9,7 +9,7 @@ struct HPApp: App { WindowGroup("Hello platform") { HPView(delegate.hpVM) .onAppear { - delegate.setWindowIcons() + delegate.setup() } } } diff --git a/hello/hello-platform/ver-windows/src/HPAppDelegate.swift b/hello/hello-platform/ver-windows/src/HPAppDelegate.swift index 987b791..495f8c4 100644 --- a/hello/hello-platform/ver-windows/src/HPAppDelegate.swift +++ b/hello/hello-platform/ver-windows/src/HPAppDelegate.swift @@ -5,9 +5,10 @@ final class HPAppDelegate { let hp = HPComponent() let hpVM = HPVM() - init() { + func setup() { otherSetupConsoleLogging(hp.ctrl, "HP") hp.setup() + setWindowIcons() } func setWindowIcons() {