feat: add icons to settings capsule tabs

This commit is contained in:
nimbold
2026-06-04 05:47:55 +03:30
parent fd349bfd3b
commit 2f5e593d0b
2 changed files with 12 additions and 3 deletions
+5
View File
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.5.1] - 2026-06-04
### Changes
- Added sleek SF Symbol icons to the Settings capsule tabs to improve visual scannability and modernize the interface.
## [0.5.0] - 2026-06-04
### New features
+7 -3
View File
@@ -12,9 +12,13 @@ struct SettingsPaneContainer: View {
Button {
activeTab = filter
} label: {
Text(filter.rawValue)
.padding(.horizontal, 12)
.padding(.vertical, 6)
HStack(spacing: 6) {
Image(systemName: filter.symbolName)
Text(filter.rawValue)
}
.padding(.horizontal, 14)
.padding(.vertical, 8)
.font(.system(size: 13, weight: .medium))
}
.buttonStyle(.plain)
.background(activeTab == filter ? Color.accentColor : Color.clear)