Skip to content

Commit

Permalink
Updated for visionOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsMEMZ committed Feb 19, 2024
1 parent 5503fb8 commit b4d26e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/DarockKit/UIExt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public struct NoAutoInput: ViewModifier {
}
}

#if !os(visionOS)
//MARK: Neumorphic
@ViewBuilder public func NeuInput(_ placeholder: String, icon: String, text: Binding<String>, password: Bool = false, paddings: [CGFloat] = [5, 20], noAutoInput: Bool = false) -> some View {
VStack {
Expand Down Expand Up @@ -169,6 +170,7 @@ public struct NoAutoInput: ViewModifier {
.padding(.vertical, paddings[0])
.padding(.horizontal, paddings[1])
}
#endif

public extension DarockKit {
class UIExt {
Expand Down

0 comments on commit b4d26e8

Please sign in to comment.