Skip to content

Commit

Permalink
Remove padding, update sensory feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdifran committed Dec 14, 2024
1 parent 76b5e4d commit 9f10781
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/AppUI/Components/Filters/TabFilter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ public struct TabFilter<Tab: TabFilterItem>: View where Tab.AllCases: RandomAcce
ForEach(Tab.allCases) { tab in
tabView(for: tab)
.contentShape(Rectangle())
.sensoryFeedback(.selection, trigger: selectedTab)
.sensoryFeedback(.impact, trigger: selectedTab)
.onTapGesture {
selectedTab = tab
}
}
}
.padding()
}
}

Expand Down

0 comments on commit 9f10781

Please sign in to comment.