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
20 changes: 8 additions & 12 deletions BitDream/Views/iOS/iOSSidebarView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,14 @@ struct iOSSidebarView: View {
}
.contentMargins(.bottom, 60, for: .scrollContent)
.overlay(alignment: .bottom) {
HStack {
FooterCircleButton(systemImage: "server.rack", label: "Manage Servers", action: onManageServers)
GlassEffectContainer {
HStack {
FooterCircleButton(systemImage: "server.rack", label: "Manage Servers", action: onManageServers)

Spacer()
Spacer()

FooterCircleButton(systemImage: "gear", label: "Settings", action: onOpenSettings)
FooterCircleButton(systemImage: "gear", label: "Settings", action: onOpenSettings)
}
}
.padding(.horizontal, 16)
}
Expand Down Expand Up @@ -101,17 +103,11 @@ private struct FooterCircleButton: View {
Button(action: action) {
Image(systemName: systemImage)
.font(.title3)
.foregroundStyle(.primary)
.frame(width: 44, height: 44)
.background(
// Tertiary stays white in light mode but elevates to gray in dark,
// where shadows alone can't separate the circle from the sidebar
Circle()
.fill(Color(.tertiarySystemBackground))
.shadow(color: .black.opacity(0.18), radius: 8, y: 2)
)
.contentShape(.circle)
}
.buttonStyle(.plain)
.glassEffect(.regular.interactive(), in: .circle)
.accessibilityLabel(label)
}
}
Expand Down
Loading