mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
remove unused corner radius property
This commit is contained in:
parent
fd1e80b01d
commit
d74342950e
1 changed files with 1 additions and 4 deletions
|
|
@ -17,7 +17,6 @@ public struct TextChip: View {
|
|||
|
||||
let text: String
|
||||
let color: Color
|
||||
let cornerRadius = 20.0
|
||||
|
||||
public var body: some View {
|
||||
Text(text)
|
||||
|
|
@ -85,7 +84,6 @@ public struct TextChipButton: View {
|
|||
let color: Color
|
||||
let onTap: () -> Void
|
||||
let actionType: ActionType
|
||||
let cornerRadius = 20.0
|
||||
let foregroundColor: Color
|
||||
|
||||
public var body: some View {
|
||||
|
|
@ -101,8 +99,7 @@ public struct TextChipButton: View {
|
|||
.font(.appFootnote)
|
||||
.foregroundColor(foregroundColor)
|
||||
.lineLimit(1)
|
||||
.background(color)
|
||||
.cornerRadius(cornerRadius)
|
||||
.background(Capsule().fill(color))
|
||||
|
||||
Color.clear.contentShape(Rectangle()).frame(height: 15)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue