From 2c6bbcad280ccb5af695a08ad9a23c4fc9a2e026 Mon Sep 17 00:00:00 2001 From: Jocelyn Liu Date: Tue, 9 Jul 2024 08:53:44 -0700 Subject: [PATCH] fixup! fix iOS --- ios/brave-ios/Sources/AIChat/Components/AIChatView.swift | 4 +++- .../Components/Messages/AIChatResponseMessageView.swift | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ios/brave-ios/Sources/AIChat/Components/AIChatView.swift b/ios/brave-ios/Sources/AIChat/Components/AIChatView.swift index 80ac329cde8c..9c70a9f2c26e 100644 --- a/ios/brave-ios/Sources/AIChat/Components/AIChatView.swift +++ b/ios/brave-ios/Sources/AIChat/Components/AIChatView.swift @@ -644,7 +644,9 @@ struct AIChatView_Preview: PreviewProvider { text: "After months of leaks and some recent coordinated teases from the company itself, Sonos is finally officially announcing the Era 300 and Era 100 speakers. Both devices go up for preorder today — the Era 300 costs $449 and the Era 100 is $249 — and they’ll be available to purchase in stores beginning March 28th.\n\nAs its unique design makes clear, the Era 300 represents a completely new type of speaker for the company; it’s designed from the ground up to make the most of spatial audio music and challenge competitors like the HomePod and Echo Studio.", selectedText: nil, - events: nil + events: nil, + lastEditedTime: Date.now, + edits: [.init(text: "Sonos", timestamp: Date.now)] ), isEntryInProgress: false ) diff --git a/ios/brave-ios/Sources/AIChat/Components/Messages/AIChatResponseMessageView.swift b/ios/brave-ios/Sources/AIChat/Components/Messages/AIChatResponseMessageView.swift index 4ca2f0e6e87e..5dd263087950 100644 --- a/ios/brave-ios/Sources/AIChat/Components/Messages/AIChatResponseMessageView.swift +++ b/ios/brave-ios/Sources/AIChat/Components/Messages/AIChatResponseMessageView.swift @@ -231,7 +231,9 @@ struct AIChatResponseMessageView_Previews: PreviewProvider { text: "After months of leaks and some recent coordinated teases from the company itself, Sonos is finally officially announcing the Era 300 and Era 100 speakers. Both devices go up for preorder today — the Era 300 costs $449 and the Era 100 is $249 — and they’ll be available to purchase in stores beginning March 28th.\n\nAs its unique design makes clear, the Era 300 represents a completely new type of speaker for the company; it’s designed from the ground up to make the most of spatial audio music and challenge competitors like the HomePod and Echo Studio.", selectedText: nil, - events: nil + events: nil, + lastEditedTime: Date.now, + edits: [.init(text: "Sonos", timestamp: Date.now)] ), isEntryInProgress: false )