Skip to content

Commit

Permalink
Fix build on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Jan 21, 2023
1 parent 80640c8 commit 27f3d5f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ private struct _ConsoleTaskCell: View {
}
}

#if os(iOS)
@available(iOS 15, tvOS 15, *)
private struct ConsoleMessageCellPreview: View {
let message: LoggerMessageEntity
Expand Down Expand Up @@ -146,6 +147,7 @@ private struct TextViewPreview: View {
.padding(12)
}
}
#endif

// Create the underlying ViewModel lazily.
private struct LazyNetworkInspectorView: View {
Expand Down

0 comments on commit 27f3d5f

Please sign in to comment.