Create hello-platform for Windows #10
No files matched your search
@@ -9,7 +9,7 @@ struct HPApp: App {
|
||||
WindowGroup("Hello platform") {
|
||||
HPView(delegate.hpVM)
|
||||
.onAppear {
|
||||
delegate.setWindowIcons()
|
||||
delegate.setup()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user