Skip to content

Commit

Permalink
Refactor [v121] Adjust button corner radius (#17139)
Browse files Browse the repository at this point in the history
* Update button corner radius

* Fix build error in sample app
  • Loading branch information
thatswinnie authored Nov 3, 2023
1 parent 3b7fc08 commit 1bfe145
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import UIKit

public class PrimaryRoundedButton: ResizableButton, ThemeApplicable {
private struct UX {
static let buttonCornerRadius: CGFloat = 13
static let buttonCornerRadius: CGFloat = 12
static let buttonVerticalInset: CGFloat = 12
static let buttonHorizontalInset: CGFloat = 16
static let buttonFontSize: CGFloat = 16
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import UIKit

public class SecondaryRoundedButton: ResizableButton, ThemeApplicable {
private struct UX {
static let buttonCornerRadius: CGFloat = 13
static let buttonCornerRadius: CGFloat = 12
static let buttonVerticalInset: CGFloat = 12
static let buttonHorizontalInset: CGFloat = 16
static let buttonFontSize: CGFloat = 16
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class CollapsibleCardViewViewController: UIViewController, Themeable {
title: "Collapsible Card View Title",
titleA11yId: "CollapsibleCardViewTitle",
expandButtonA11yId: "CollapsibleCardViewExpandButton",
expandButtonA11yLabelExpanded: "Collapse card",
expandButtonA11yLabelCollapsed: "Expand card")
expandButtonA11yLabelExpand: "Collapse card",
expandButtonA11yLabelCollapse: "Expand card")
cardView.configure(viewModel)

cardView.applyTheme(theme: themeManager.currentTheme)
Expand Down

0 comments on commit 1bfe145

Please sign in to comment.