Skip to content

Commit

Permalink
remove padding below the picker
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanmontz committed Dec 23, 2024
1 parent 1747c6b commit 52b3c37
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Nos/Views/Home/HomeFeedView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ struct HomeFeedView: View {
/// The amount of time (in seconds) the loading indicator will be shown when showTimedLoadingIndicator is set to
/// true.
static let staticLoadTime: TimeInterval = 2

private let stackSpacing: CGFloat = 8

let user: Author

Expand Down Expand Up @@ -68,7 +70,7 @@ struct HomeFeedView: View {

var body: some View {
ZStack {
VStack(spacing: 8) {
VStack(spacing: stackSpacing) {
TipView(welcomeTip)
.padding(.top, 20)
.padding(.horizontal, 16)
Expand All @@ -77,6 +79,7 @@ struct HomeFeedView: View {
.tipViewStyle(.inline)

FeedPicker(author: user, selectedSource: $pickerSelected)
.padding(.bottom, -stackSpacing) // remove the padding below the picker

PagedNoteListView(
refreshController: $refreshController,
Expand Down

0 comments on commit 52b3c37

Please sign in to comment.