diff --git a/app-ios/Sources/FavoriteFeature/FavoriteView.swift b/app-ios/Sources/FavoriteFeature/FavoriteView.swift index 86e765eca..7917b2891 100644 --- a/app-ios/Sources/FavoriteFeature/FavoriteView.swift +++ b/app-ios/Sources/FavoriteFeature/FavoriteView.swift @@ -83,13 +83,7 @@ public struct FavoriteView: View { } } -#if hasFeature(RetroactiveAttribute) -extension DroidKaigi2024Day: @retroactive Selectable {} -#else -extension DroidKaigi2024Day: Selectable {} -#endif - -extension DroidKaigi2024Day { +extension DroidKaigi2024Day: Model.Selectable { public var id: Self { self } diff --git a/app-ios/Sources/SearchFeature/SearchView.swift b/app-ios/Sources/SearchFeature/SearchView.swift index b7c23c3b3..751a5ef58 100644 --- a/app-ios/Sources/SearchFeature/SearchView.swift +++ b/app-ios/Sources/SearchFeature/SearchView.swift @@ -183,13 +183,7 @@ public struct SearchView: View { } } -#if hasFeature(RetroactiveAttribute) -extension DroidKaigi2024Day: @retroactive Selectable {} -#else -extension DroidKaigi2024Day: Selectable {} -#endif - -extension DroidKaigi2024Day { +extension DroidKaigi2024Day: Model.Selectable { public var id: Self { self } @@ -212,13 +206,7 @@ extension DroidKaigi2024Day { } } -#if hasFeature(RetroactiveAttribute) -extension TimetableSessionType: @retroactive Selectable {} -#else -extension TimetableSessionType: Selectable {} -#endif - -extension TimetableSessionType { +extension TimetableSessionType: Model.Selectable { public var id: Self { self } @@ -228,13 +216,7 @@ extension TimetableSessionType { } } -#if hasFeature(RetroactiveAttribute) -extension Lang: @retroactive Selectable {} -#else -extension Lang: Selectable {} -#endif - -extension Lang { +extension Lang: Model.Selectable { public var id: Self { self } diff --git a/app-ios/Sources/Theme/ColorAsset+Sendable.swift b/app-ios/Sources/Theme/ColorAsset+Sendable.swift index 6943a3818..4dd31c040 100644 --- a/app-ios/Sources/Theme/ColorAsset+Sendable.swift +++ b/app-ios/Sources/Theme/ColorAsset+Sendable.swift @@ -1,5 +1 @@ -#if hasFeature(RetroactiveAttribute) -extension ColorAsset: @retroactive @unchecked Sendable {} -#else extension ColorAsset: @unchecked Sendable {} -#endif diff --git a/app-ios/Sources/Theme/FontConvertible+Sendable.swift b/app-ios/Sources/Theme/FontConvertible+Sendable.swift index 4413ea7b5..0536c29c3 100644 --- a/app-ios/Sources/Theme/FontConvertible+Sendable.swift +++ b/app-ios/Sources/Theme/FontConvertible+Sendable.swift @@ -1,5 +1 @@ -#if hasFeature(RetroactiveAttribute) -extension FontConvertible: @retroactive @unchecked Sendable {} -#else extension FontConvertible: @unchecked Sendable {} -#endif