commit 41e036cff23be8ae41d9e6c736d6ca2a4cd6942d
parent eb901a4d8437628879bd1160644fa00293114765
Author: Daniel D’Aquino <daniel@daquino.me>
Date: Sun, 24 Sep 2023 14:11:49 +0000
Remove toolbar background from profile view for better looks
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 <daniel@daquino.me>
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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()
}