Skip to content

Commit 9fc4c8b

Browse files
committed
Fixed some linter issues.
1 parent ce0c25a commit 9fc4c8b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

WooCommerce/Classes/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
3131

3232

3333

34-
func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool {
34+
func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]? = nil) -> Bool {
3535

3636
// Setup the Interface!
3737
setupMainWindow()

WooCommerce/Classes/Extensions/UILabel+Helpers.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ extension UILabel {
2121
func applyStatusStyle(for status: OrderStatus) {
2222
layer.borderWidth = 1.0
2323
layer.cornerRadius = 4.0
24-
font = .footnote;
24+
font = .footnote
2525

2626
switch status {
2727
case .processing:
@@ -52,6 +52,6 @@ extension UILabel {
5252
func applyPaddedLabelDefaultStyles() {
5353
layer.borderWidth = 1.0
5454
layer.cornerRadius = 4.0
55-
font = .footnote;
55+
font = .footnote
5656
}
5757
}

WooCommerce/Classes/ViewRelated/MainTabBarController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class MainTabBarController: UITabBarController {
2727
guard let items = tabBar.items else {
2828
fatalError()
2929
}
30-
30+
3131
for (index, item) in items.enumerated() {
3232
item.title = tabTitles[index]
3333
item.image = tabIcons[index]

WooCommerce/Classes/ViewRelated/Orders/OrderDetails/OrderDetailsViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class OrderDetailsViewController: UIViewController {
2626
override func viewDidLoad() {
2727
super.viewDidLoad()
2828
configureTableView()
29-
title = NSLocalizedString("Order #\(order.number)", comment:"Order number title")
29+
title = NSLocalizedString("Order #\(order.number)", comment: "Order number title")
3030
}
3131

3232
override func viewWillDisappear(_ animated: Bool) {

0 commit comments

Comments
 (0)