File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
WooCommerce/Classes/ViewRelated/Dashboard/Settings/Domains Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11import SwiftUI
22
3+ /// Shows a site's free staging domain, with an optional badge if the domain is the primary domain.
34struct FreeStagingDomainView : View {
45 let domain : DomainSettingsViewModel . FreeStagingDomain
56
@@ -11,6 +12,7 @@ struct FreeStagingDomainView: View {
1112 . bold ( )
1213 }
1314 if domain. isPrimary {
15+ // TODO: 8558 - refactor to reuse `BadgeView`
1416 Text ( Localization . primaryDomainNotice)
1517 . foregroundColor ( Color ( . textBrand) )
1618 . padding ( . leading, Layout . horizontalPadding)
@@ -38,7 +40,7 @@ private extension FreeStagingDomainView {
3840 }
3941}
4042
41- extension FreeStagingDomainView {
43+ private extension FreeStagingDomainView {
4244 enum Layout {
4345 static let horizontalPadding : CGFloat = 6
4446 static let verticalPadding : CGFloat = 4
You can’t perform that action at this time.
0 commit comments