Skip to content

Commit

Permalink
FIX an issue where the project could not be previewed
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradSun committed Sep 1, 2023
1 parent bcafa5c commit 5c38877
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Release"
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
Expand Down
7 changes: 4 additions & 3 deletions PasteShow/MainView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ struct MainView: View {
}
}

//#Preview {
// MainView()
//}
#Preview {
MainView()
.environmentObject(PasteboardManager.shared.pasteInfo)
}

0 comments on commit 5c38877

Please sign in to comment.