Skip to content

Commit a3532b9

Browse files
committed
fix xcode 26 build
1 parent d1fe57e commit a3532b9

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Core/CommonViewsKit/Sources/CommonViewsKit/Extensions/LiquidGlass+Extension.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@
88
import SwiftUI
99

1010
public extension ToolbarContent {
11-
@ToolbarContentBuilder
1211
func disableSharedBackground() -> some ToolbarContent {
1312
if #available(macOS 26.0, *) {
14-
self.sharedBackgroundVisibility(.hidden)
13+
return self.sharedBackgroundVisibility(.hidden)
1514
} else {
16-
self
15+
return self
1716
}
1817
}
1918
}

0 commit comments

Comments
 (0)