From a57d654f3247ca37b4896db59683460704e309c8 Mon Sep 17 00:00:00 2001 From: OlegAba Date: Mon, 16 Jan 2023 23:37:40 -0500 Subject: [PATCH] Fix tab views moving after selecting from search result Closes: #339 Changelog-Fixed: Fix tab views moving after selecting from search result --- damus/ContentView.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/damus/ContentView.swift b/damus/ContentView.swift index 82cdd0ca..573e2602 100644 --- a/damus/ContentView.swift +++ b/damus/ContentView.swift @@ -113,7 +113,6 @@ struct ContentView: View { } .background(colorScheme == .dark ? Color.black : Color.white) } - .ignoresSafeArea(.keyboard) } func contentTimelineView(filter: (@escaping (NostrEvent) -> Bool)) -> some View { @@ -191,8 +190,8 @@ struct ContentView: View { Text("", comment: "Toolbar label for unknown views. This label would be displayed only if a new timeline view is added but a toolbar label was not explicitly assigned to it yet.") } } - } + .ignoresSafeArea(.keyboard) } var MaybeSearchView: some View {