From 41e036cff23be8ae41d9e6c736d6ca2a4cd6942d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=E2=80=99Aquino?= Date: Sun, 24 Sep 2023 14:11:49 +0000 Subject: [PATCH] Remove toolbar background from profile view for better looks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Device: iPhone 13 mini (Physical device) iOS: iOS 17.0.1 Remarks: Some entitlements removed locally to be able to build to device without access to development certificate Steps ----- 1. Go to the home timeline view. 2. Click on a profile on any post 3. Swipe back to the home timeline view (Do not press "back" button) 4. Click on that same profile again 5. Scroll down the profile 6. Make sure that toolbar looks good (Does not have a white background) Results: Swiping back from profile does not cause any issues. View layout of the custom navbar looks good Changelog-Fixed: Fix small graphical toolbar bug when scrolling profiles Signed-off-by: Daniel D’Aquino Signed-off-by: William Casarin --- damus/Views/Profile/ProfileView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/damus/Views/Profile/ProfileView.swift b/damus/Views/Profile/ProfileView.swift index f1d9bfc3..705a59a0 100644 --- a/damus/Views/Profile/ProfileView.swift +++ b/damus/Views/Profile/ProfileView.swift @@ -476,6 +476,7 @@ struct ProfileView: View { customNavbar } } + .toolbarBackground(.hidden) .onReceive(handle_notify(.switched_timeline)) { _ in dismiss() }