@@ -1069,7 +1069,7 @@ private final class PremiumBoardingView : View {
10691069 self . arguments = arguments
10701070 let size = acceptView . update ( animated : animated , state : state , context : arguments . context )
10711071 acceptView . setFrameSize ( NSMakeSize ( frame . width - 40 , size . height ) )
1072- acceptView . layer ? . cornerRadius = 10
1072+ acceptView . layer ? . cornerRadius = 20
10731073 let transition : ContainedViewLayoutTransition
10741074 if animated && ! first {
10751075 transition = . animated ( duration : 0.2 , curve : . easeOut )
@@ -1114,7 +1114,7 @@ private final class PremiumBoardingView : View {
11141114 let acceptView = AcceptView ( frame : . zero )
11151115 let size = acceptView . update ( animated : false , state : state , context : arguments . context )
11161116 acceptView . setFrameSize ( NSMakeSize ( frame . width - 40 , size . height ) )
1117- acceptView . layer ? . cornerRadius = 10
1117+ acceptView . layer ? . cornerRadius = 20
11181118 acceptView . set ( handler : { [ weak self ] _ in
11191119 self ? . accept ? ( )
11201120 } , for : . Click )
@@ -1126,10 +1126,10 @@ private final class PremiumBoardingView : View {
11261126 okButton . autohighlight = false
11271127 okButton . set ( font : . medium ( . text ) , for : . Normal )
11281128 okButton . set ( color : . white , for : . Normal )
1129- okButton . layer ? . cornerRadius = 10
1129+ okButton . layer ? . cornerRadius = 20
11301130 okButton . set ( text : strings ( ) . modalOK , for : . Normal )
11311131 okButton . sizeToFit ( . zero , NSMakeSize ( frame . width - 40 , 40 ) , thatFit : true )
1132- okButton . layer ? . cornerRadius = 10
1132+ okButton . layer ? . cornerRadius = 20
11331133 let gradient = CAGradientLayer ( )
11341134 gradient . frame = okButton . bounds
11351135 gradient . disableActions ( )
0 commit comments