Clear edit mode when going into search mode

This commit is contained in:
Jackson Harper
2023-12-23 17:04:37 +08:00
parent 3aca91f083
commit 66a6c5ddc3

View File

@ -310,7 +310,10 @@ struct AnimatingCellHeight: AnimatableModifier {
}
).tint(Color.appGrayText)
Button(
action: { searchPresented = true },
action: {
searchPresented = true
isEditMode = .inactive
},
label: {
Image
.magnifyingGlass