mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-29 19:51:08 +00:00
Enable "GraphReuseLogging" for Debug build (#2203)
This commit is contained in:
parent
15a6fd6f1c
commit
110906e69a
1 changed files with 8 additions and 0 deletions
|
@ -34,6 +34,14 @@ struct IceCubesApp: App {
|
||||||
|
|
||||||
@State var isSupporter: Bool = false
|
@State var isSupporter: Bool = false
|
||||||
|
|
||||||
|
init() {
|
||||||
|
#if DEBUG
|
||||||
|
// Enable "GraphReuseLogging" for debugging purpose
|
||||||
|
// subsystem: "com.apple.SwiftUI" category: "GraphReuse"
|
||||||
|
UserDefaults.standard.register(defaults: ["com.apple.SwiftUI.GraphReuseLogging": true])
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
var body: some Scene {
|
var body: some Scene {
|
||||||
appScene
|
appScene
|
||||||
otherScenes
|
otherScenes
|
||||||
|
|
Loading…
Reference in a new issue