Create hello-platform for Windows #10

Open
kornerr wants to merge 46 commits from hrbmac into master
pull from: hrbmac
2 changed files with 3 additions and 2 deletions
Showing only changes of commit b5772432b8 - Show all commits

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() {