mirror of
https://github.com/nimbold/Firelink.git
synced 2026-08-27 19:17:13 +00:00
feat: add icons to settings capsule tabs
This commit is contained in:
@@ -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/),
|
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).
|
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
|
## [0.5.0] - 2026-06-04
|
||||||
|
|
||||||
### New features
|
### New features
|
||||||
|
|||||||
@@ -12,9 +12,13 @@ struct SettingsPaneContainer: View {
|
|||||||
Button {
|
Button {
|
||||||
activeTab = filter
|
activeTab = filter
|
||||||
} label: {
|
} label: {
|
||||||
Text(filter.rawValue)
|
HStack(spacing: 6) {
|
||||||
.padding(.horizontal, 12)
|
Image(systemName: filter.symbolName)
|
||||||
.padding(.vertical, 6)
|
Text(filter.rawValue)
|
||||||
|
}
|
||||||
|
.padding(.horizontal, 14)
|
||||||
|
.padding(.vertical, 8)
|
||||||
|
.font(.system(size: 13, weight: .medium))
|
||||||
}
|
}
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
.background(activeTab == filter ? Color.accentColor : Color.clear)
|
.background(activeTab == filter ? Color.accentColor : Color.clear)
|
||||||
|
|||||||
Reference in New Issue
Block a user