1
0
mirror of git://jb55.com/damus synced 2024-09-16 02:03:45 +00:00

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>
This commit is contained in:
Daniel D’Aquino 2023-09-24 14:11:49 +00:00 committed by William Casarin
parent eb901a4d84
commit 41e036cff2

View File

@ -476,6 +476,7 @@ struct ProfileView: View {
customNavbar
}
}
.toolbarBackground(.hidden)
.onReceive(handle_notify(.switched_timeline)) { _ in
dismiss()
}