Skip to content

Commit 2bae0b4

Browse files
authoredDec 21, 2024
Merge pull request #783 from gsbernstein/fix-xcode-16.2
Fix for xcode 16.1: using unsupported binding
2 parents 25d2184 + a4cbbfe commit 2bae0b4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎MeetingBar/Views/Shared.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ struct JoinEventNotificationPicker: View {
5656
@Default(.joinEventNotification) var joinEventNotification
5757
@Default(.joinEventNotificationTime) var joinEventNotificationTime
5858

59-
let (noAlertStyle, disabled) = checkNotificationSettings()
59+
let noAlertStyle: Bool
60+
let disabled: Bool
61+
62+
init() {
63+
(noAlertStyle, disabled) = checkNotificationSettings()
64+
}
6065

6166
var body: some View {
6267
HStack {

0 commit comments

Comments
 (0)