update default tag.
This commit is contained in:
parent
6ad4d70760
commit
f9cc4ac7fd
@ -160,9 +160,12 @@ struct ConfigurationRow: View {
|
|||||||
.font(.system(size: 15, weight: .semibold))
|
.font(.system(size: 15, weight: .semibold))
|
||||||
|
|
||||||
if config.isDefault {
|
if config.isDefault {
|
||||||
Image(systemName: "star.fill")
|
Text("Default")
|
||||||
.font(.system(size: 12))
|
.font(.system(size: 11, weight: .medium))
|
||||||
.foregroundColor(.accentColor)
|
.padding(.horizontal, 6)
|
||||||
|
.padding(.vertical, 2)
|
||||||
|
.background(Capsule().fill(Color.accentColor))
|
||||||
|
.foregroundColor(.white)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user