diff --git a/app-ios/Sources/ProfileCardFeature/Input/ProfileCardInputImage.swift b/app-ios/Sources/ProfileCardFeature/Input/ProfileCardInputImage.swift index 93139911e..d1e13aabd 100644 --- a/app-ios/Sources/ProfileCardFeature/Input/ProfileCardInputImage.swift +++ b/app-ios/Sources/ProfileCardFeature/Input/ProfileCardInputImage.swift @@ -3,8 +3,8 @@ import _PhotosUI_SwiftUI import Theme struct ProfileCardInputImage: View { - @State var isPickerPresented = false - @State var selectedImage: Image? + @State private var isPickerPresented = false + @State private var selectedImage: Image? @Binding var selectedPhoto: PhotosPickerItem? var title: String diff --git a/app-ios/Sources/SponsorFeature/SponsorView.swift b/app-ios/Sources/SponsorFeature/SponsorView.swift index 710568c24..d0e4a7240 100644 --- a/app-ios/Sources/SponsorFeature/SponsorView.swift +++ b/app-ios/Sources/SponsorFeature/SponsorView.swift @@ -5,7 +5,7 @@ import Model public struct SponsorView: View { private let store: StoreOf - @State var selectedSponsorData: Sponsor? + @State private var selectedSponsorData: Sponsor? public init(store: StoreOf) { self.store = store diff --git a/app-ios/Sources/StaffFeature/StaffView.swift b/app-ios/Sources/StaffFeature/StaffView.swift index c508d9aad..d5d9f8235 100644 --- a/app-ios/Sources/StaffFeature/StaffView.swift +++ b/app-ios/Sources/StaffFeature/StaffView.swift @@ -6,7 +6,7 @@ import Model public struct StaffView: View { private let store: StoreOf - @State var selectedStaffData: Staff? + @State private var selectedStaffData: Staff? public init(store: StoreOf) { self.store = store diff --git a/app-ios/Sources/TimetableFeature/TimetableListView.swift b/app-ios/Sources/TimetableFeature/TimetableListView.swift index e5fe98dba..509919dbf 100644 --- a/app-ios/Sources/TimetableFeature/TimetableListView.swift +++ b/app-ios/Sources/TimetableFeature/TimetableListView.swift @@ -11,9 +11,9 @@ public struct TimetableView: View { self.store = store } - @State var timetableMode = TimetableMode.list - @State var switchModeIcon: ImageResource = .icGrid - @State var selectedTab: DayTab = DayTab.day1 + @State private var timetableMode = TimetableMode.list + @State private var switchModeIcon: ImageResource = .icGrid + @State private var selectedTab: DayTab = DayTab.day1 public var body: some View { VStack {