leits / MeetingBar

🇺🇦 Your meetings at your fingertips in the macOS menu bar
https://meetingbar.app
Apache License 2.0
4.54k stars 203 forks source link

Fix for xcode 16.1: using unsupported binding #783

Open gsbernstein opened 2 days ago

gsbernstein commented 2 days ago

Status

READY

Description

It seems like this was never fully supported by swift but they've recently added an error for it

...MeetingBar/Views/Shared.swift:59:9 Binding multiple 'let' stored properties from a single initializer expression in a struct is unsupported

https://github.com/swiftlang/swift/blob/ec8558942c42ce87baeef5aa32a2b6f43cb66001/lib/Sema/TypeCheckStorage.cpp#L576

Checklist

Steps to Test or Reproduce

Build on xcode 16.1