mirror of
https://github.com/yJason/ClashX-Dashboard.git
synced 2026-02-04 10:02:26 +08:00
misc: sidebar label alignment
This commit is contained in:
@@ -11,10 +11,11 @@ struct SidebarLabel: View {
|
||||
@State var iconName: String
|
||||
|
||||
var body: some View {
|
||||
HStack {
|
||||
Label {
|
||||
Text(item.rawValue)
|
||||
} icon: {
|
||||
Image(systemName: iconName)
|
||||
.foregroundColor(.accentColor)
|
||||
Text(item.rawValue)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user