Skip to content

Commit 594c154

Browse files
authored
Round the Boost and withdrawal buttons into capsules like the iOS client (#142)
1 parent ea60a3f commit 594c154

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/BoostUI/Sources/BoostUI/BoostChannelModalController.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ private final class AcceptRowView : TableRowView {
805805
button.update(state: item.state, presentation: item.presentation, lottie: .menu_lighting)
806806

807807
button.setFrameSize(NSMakeSize(frame.width - 40, 40))
808-
button.layer?.cornerRadius = 10
808+
button.layer?.cornerRadius = 20
809809

810810
}
811811

‎packages/MonetizationUI/Sources/MonetizationUI/FragmentMonetizationController.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ private final class WithdrawInputView : GeneralRowView {
10321032
required init(frame frameRect: NSRect) {
10331033
super.init(frame: frameRect)
10341034
addSubview(textView)
1035-
layer?.cornerRadius = 10
1035+
layer?.cornerRadius = 20
10361036
scaleOnClick = true
10371037
self.set(background: theme.colors.accent, for: .Normal)
10381038

‎packages/MonetizationUI/Sources/MonetizationUI/FragmentStarMonetizationController.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ private final class WithdrawInputView : GeneralRowView {
614614
required init(frame frameRect: NSRect) {
615615
super.init(frame: frameRect)
616616
addSubview(textView)
617-
layer?.cornerRadius = 10
617+
layer?.cornerRadius = 20
618618
scaleOnClick = true
619619
self.set(background: theme.colors.accent, for: .Normal)
620620

0 commit comments

Comments
 (0)