From b5a5dc8963dbd73d30c188eb9f3018add76a2c06 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sun, 14 Jan 2024 11:09:32 -0600 Subject: feat: update app to use native file manager as the base --- LibreEdit/LibreEditApp.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LibreEdit/LibreEditApp.swift') 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) } } } -- cgit v1.2.3-70-g09d2