Skip to content

Commit

Permalink
Fixed Swift 6 build error
Browse files Browse the repository at this point in the history
  • Loading branch information
orchetect committed Dec 1, 2024
1 parent 082e9d0 commit cd4d1a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/MacControlCenterUI/Abstracts/FullWidthMenuItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ public struct FullWidthMenuItem<Content: View>: View, MacControlCenterMenuItem {
}

extension View {
public func fullWidthMenuItem<Content>(
public func fullWidthMenuItem(
verticalPadding: Bool = true
) -> FullWidthMenuItem<Content> where Content == Self {
) -> FullWidthMenuItem<Self> {
FullWidthMenuItem(verticalPadding: verticalPadding) { self }
}
}
Expand Down

0 comments on commit cd4d1a7

Please sign in to comment.