Skip to content

Commit 2d6c648

Browse files
committed
Address periphery warnings
1 parent ec774da commit 2d6c648

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

Modules/Sources/Networking/Model/Bookings/Booking.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public struct Booking: Codable, GeneratedCopiable, Hashable, GeneratedFakeable {
2222
public let statusKey: String
2323
public let localTimezone: String
2424
public let currency: String
25-
// periphery: ignore - to be used later
2625
public let orderInfo: BookingOrderInfo?
2726

2827
public var bookingStatus: BookingStatus {

WooCommerce/Classes/ViewModels/Booking Details/BookingDetailsViewModel.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ final class BookingDetailsViewModel: ObservableObject {
2626

2727
navigationTitle = Self.navigationTitle(for: booking)
2828
setupSections(with: booking)
29+
configureEntityListener()
2930
}
3031

3132
private func setupSections(with booking: Booking) {

WooCommerce/Classes/ViewModels/Booking Details/HeaderContent.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ extension BookingDetailsViewModel {
99

1010
@Published var serviceAndCustomerLine: String
1111

12-
init(_ booking: Booking, customerName: String? = nil) {
12+
init(_ booking: Booking) {
1313
bookingDate = booking.startDate.toString(
1414
dateStyle: .short,
1515
timeStyle: .short,
@@ -21,9 +21,3 @@ extension BookingDetailsViewModel {
2121
}
2222
}
2323
}
24-
25-
private extension BookingDetailsViewModel {
26-
enum Constants {
27-
static let dotSeparator: String = ""
28-
}
29-
}

0 commit comments

Comments
 (0)