Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Sources/VoidBar/UI/NotchContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,15 @@ private struct Rail: View {
private let dwell = Duration.milliseconds(150)

var body: some View {
VStack(spacing: 4) {
VStack(spacing: 2) {
ForEach(tabs) { tab in
Button {
vm.select(tab)
HapticManager.play(.alignment)
} label: {
Image(systemName: tab.symbol)
.font(.system(size: 12, weight: .medium))
.frame(width: 30, height: 24)
.font(.system(size: 11, weight: .medium))
.frame(width: 28, height: 20)
.background(
RoundedRectangle(cornerRadius: 7, style: .continuous)
.fill(fill(for: tab))
Expand All @@ -253,7 +253,7 @@ private struct Rail: View {
}
}
}
.frame(width: 30)
.frame(width: 28)
.frame(maxHeight: .infinity, alignment: .center)
.animation(Theme.contentAnimation, value: hovered)
// Moving to another icon cancels the pending switch along with the
Expand Down