Skip to content

Commit 92da4e9

Browse files
committed
Remove redundant white lines
1 parent 86bed60 commit 92da4e9

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

WooCommerce/Classes/Authentication/Epilogue/StorePickerViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ extension StorePickerViewController: UITableViewDelegate {
694694
} else {
695695
showNoWooError(for: site)
696696
}
697-
697+
698698
return tableView.deselectRow(at: indexPath, animated: true)
699699
}
700700

WooCommerce/Classes/Authentication/Navigation Exceptions/NonAtomicSiteViewModel.swift

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ struct NonAtomicSiteViewModel: ULErrorViewModel {
1010
var title: String? { site.name }
1111

1212
let image: UIImage = .loginNoWordPressError
13-
13+
1414
var text: NSAttributedString {
1515
let font: UIFont = .body
1616
let boldFont: UIFont = font.bold
@@ -23,33 +23,33 @@ struct NonAtomicSiteViewModel: ULErrorViewModel {
2323

2424
return message
2525
}
26-
26+
2727
let isAuxiliaryButtonHidden = true
2828
let auxiliaryButtonTitle = ""
2929

3030
let isPrimaryButtonHidden = true
3131
let primaryButtonTitle = ""
32-
32+
3333
let secondaryButtonTitle = Localization.secondaryButtonTitle
3434

3535
init(site: Site, stores: StoresManager = ServiceLocator.stores) {
3636
self.site = site
3737
self.stores = stores
3838
}
39-
39+
4040
func viewDidLoad(_ viewController: UIViewController?) {
4141
// no-op
4242
}
43-
43+
4444
func didTapPrimaryButton(in viewController: UIViewController?) {
4545
// no-op
4646
}
47-
47+
4848
func didTapSecondaryButton(in viewController: UIViewController?) {
4949
stores.deauthenticate()
5050
viewController?.navigationController?.popToRootViewController(animated: true)
5151
}
52-
52+
5353
func didTapAuxiliaryButton(in viewController: UIViewController?) {
5454
// no-op
5555
}
@@ -60,7 +60,8 @@ private extension NonAtomicSiteViewModel {
6060
static let errorMessage = NSLocalizedString(
6161
"It seems that your site %@ is a simple WordPress.com site that cannot install plugins. Please upgrade your plan to use WooCommerce.",
6262
comment: "An error message displayed when the user tries to log in to the app with a simple WP.com site. " +
63-
"Reads like: It seems that your site google.com is a simple WordPress.com site that cannot install plugins. Please upgrade your plan to use WooCommerce."
63+
"Reads like: It seems that your site google.com is a simple WordPress.com site that cannot install plugins. " +
64+
"Please upgrade your plan to use WooCommerce."
6465
)
6566

6667
static let secondaryButtonTitle = NSLocalizedString("Log In With Another Account",

0 commit comments

Comments
 (0)