diff --git a/Shared/WriteFreely_MultiPlatformApp.swift b/Shared/WriteFreely_MultiPlatformApp.swift index 5b0123d..15a8d88 100644 --- a/Shared/WriteFreely_MultiPlatformApp.swift +++ b/Shared/WriteFreely_MultiPlatformApp.swift @@ -152,11 +152,13 @@ struct WriteFreely_MultiPlatformApp: App { } private func showLastDraftOrCreateNewLocalPost() { + #if os(macOS) if model.editor.lastDraftURL != nil { self.model.selectedPost = model.editor.fetchLastDraftFromAppStorage() } else { createNewLocalPost() } + #endif } private func createNewLocalPost() {