From 66a6c5ddc3635cd6ab7b662ce1e101c0bc99e6a7 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Sat, 23 Dec 2023 17:04:37 +0800 Subject: [PATCH] Clear edit mode when going into search mode --- .../OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift index c3f0d934c..b2ef10d81 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift @@ -310,7 +310,10 @@ struct AnimatingCellHeight: AnimatableModifier { } ).tint(Color.appGrayText) Button( - action: { searchPresented = true }, + action: { + searchPresented = true + isEditMode = .inactive + }, label: { Image .magnifyingGlass