Fix preview

This commit is contained in:
世界 committed 2023-07-30 15:35:10 +08:00
1 parent 2ca6c515b9
commit fed5419ea0
8 files changed
+94 -73

No files matched your search

@@ -66,7 +66,7 @@ public struct ProfileView: View {
.disabled(editMode.isEditing)
#endif
#if os(tvOS)
if devicePickerSupports(.applicationService(name: "sing-box"), parameters: { .applicationService }) {
if ApplicationLibrary.inPreview || devicePickerSupports(.applicationService(name: "sing-box"), parameters: { .applicationService }) {
NavigationLink {
ImportProfileView {
Task.detached {