mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 03:06:37 +00:00
26c417ae68
With Swift 6.4, the default value for AlertInfo.primaryButton warned that T's Hashable conformance may be isolated and can't be used in a main actor-isolated context. The nested AlertButton/AlertTextField types don't depend on T, so move them to top level as AlertInfoButton and AlertInfoTextField, and keep typealiases so existing call sites compile. Constraining T to SendableMetatype isn't possible as the synthesized Hashable conformances of our main actor-isolated alert enums are isolated.