From d5a24bb3424cbe0dc902ce351dfad3837836183b Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Tue, 27 Oct 2026 14:06:17 +0000 Subject: [PATCH] ios: one property wrapper on the chat view's chat (#7910) --- apps/ios/Shared/Views/Chat/ChatView.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/ios/Shared/Views/Chat/ChatView.swift b/apps/ios/Shared/Views/Chat/ChatView.swift index 2a903fcd91..8cacce2d18 100644 --- a/apps/ios/Shared/Views/Chat/ChatView.swift +++ b/apps/ios/Shared/Views/Chat/ChatView.swift @@ -47,7 +47,7 @@ struct ChatView: View { @Environment(\.colorScheme) var colorScheme @Environment(\.presentationMode) var presentationMode @Environment(\.scenePhase) var scenePhase - @State @ObservedObject var chat: Chat + @State var chat: Chat @ObservedObject var im: ItemsModel @State var mergedItems: BoxedValue @State var floatingButtonModel: FloatingButtonModel @@ -1004,7 +1004,7 @@ struct ChatView: View { struct ChatBannerView: View { @EnvironmentObject var theme: AppTheme @AppStorage(DEFAULT_CHAT_ITEM_ROUNDNESS) private var roundness = defaultChatItemRoundness - @Binding @ObservedObject var chat: Chat + @Binding var chat: Chat var body: some View { let v = VStack(spacing: 8) { @@ -1697,7 +1697,7 @@ struct ChatView: View { @EnvironmentObject var m: ChatModel @EnvironmentObject var theme: AppTheme @AppStorage(DEFAULT_PROFILE_IMAGE_CORNER_RADIUS) private var profileRadius = defaultProfileImageCorner - @Binding @ObservedObject var chat: Chat + @Binding var chat: Chat @ObservedObject var dummyModel: ChatItemDummyModel = .shared let index: Int let isLastItem: Bool