diff options
Diffstat (limited to 'LibreEdit/LibreEditApp.swift')
-rw-r--r-- | LibreEdit/LibreEditApp.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibreEdit/LibreEditApp.swift b/LibreEdit/LibreEditApp.swift index 23a791f..b2c9736 100644 --- a/LibreEdit/LibreEditApp.swift +++ b/LibreEdit/LibreEditApp.swift @@ -10,8 +10,8 @@ import SwiftUI @main struct LibreEditApp: App { var body: some Scene { - WindowGroup { - ContentView() + DocumentGroup(newDocument: TextFile()) { file in + ContentView(document: file.$document) } } } |