forked from MeloNX/MeloNX
Refactor app initialization logic for release mode
This commit is contained in:
parent
6c93dd4296
commit
7252b66164
@ -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…
x
Reference in New Issue
Block a user