mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-27 19:06:23 +02:00
Refactor app initialization logic for release mode
This commit is contained in:
parent
6c93dd4296
commit
7252b66164
1 changed files with 0 additions and 4 deletions
|
@ -33,11 +33,7 @@ struct MeloNXApp: App {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.onAppear {
|
.onAppear {
|
||||||
#if RELEASE
|
|
||||||
initR()
|
initR()
|
||||||
#else
|
|
||||||
showed = true
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||||
.background(Color.black.opacity(1))
|
.background(Color.black.opacity(1))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue