ux: Seamless Timeline
This PR is a ux change to make the header, tabbar, and post button disappear when the user scrolls. The main tabbar is now an overlay which means it will display over views, this was needed in order to get the timeline to extend behind it. However, this mean we must add bottom padding to any view where the main tabbar is present to account for the overlap. Changelog-Added: Disappearing header, tabbar, and post button on scroll Signed-off-by: ericholguin <ericholguin@apache.org>
This commit is contained in:
@@ -108,6 +108,7 @@ struct AppearanceSettingsView: View {
|
||||
Section(
|
||||
header: Text("Profiles", comment: "Section title for profile view configuration."),
|
||||
footer: Text("Profile action sheets allow you to follow, zap, or DM profiles more quickly without having to view their full profile", comment: "Section footer clarifying what the profile action sheet feature does")
|
||||
.padding(.bottom, tabHeight + getSafeAreaBottom())
|
||||
) {
|
||||
Toggle(NSLocalizedString("Show profile action sheets", comment: "Setting to show profile action sheets when clicking on a user's profile picture"), isOn: $settings.show_profile_action_sheet_on_pfp_click)
|
||||
.toggleStyle(.switch)
|
||||
|
||||
Reference in New Issue
Block a user