Skip to content

Commit

Permalink
fix mac os support
Browse files Browse the repository at this point in the history
  • Loading branch information
devmehmetates committed Apr 24, 2024
1 parent 1a86d6e commit 10891ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/ErrorableView/Abstract/ErrorableViewModifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public struct ErrorableViewModifier<ErrorContent: ErrorableView>: ViewModifier {
}
}

#if os(iOS)
@ViewBuilder
private func fullscreenState(content: Content) -> some View {
Group {
Expand All @@ -79,6 +80,7 @@ public struct ErrorableViewModifier<ErrorContent: ErrorableView>: ViewModifier {
errorContent
}
}
#endif
}

@available(iOS 15.0, *)
Expand Down

0 comments on commit 10891ae

Please sign in to comment.