Support for Sonoma and possibly Intel Macs

This commit is contained in:
Hariharan Mudaliar 2025-12-25 13:21:13 +05:30
commit 419398ecb2
No known key found for this signature in database
GPG key ID: 025583EB0BE5640E
5 changed files with 6 additions and 4 deletions

View file

@ -925,7 +925,7 @@ private struct PanelControlButton: View {
base.contentTransition(.symbolEffect(.replace))
}
case .wiggle:
if #available(macOS 14.0, *) {
if #available(macOS 15.0, *) {
base
.contentTransition(.symbolEffect(.replace))
.symbolEffect(.wiggle.byLayer, options: .nonRepeating, value: wiggleToken)