Skip to content

Commit de8fc3e

Browse files
committed
Remove unused remoteValue from BookingType
1 parent fbb7d93 commit de8fc3e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

WooCommerce/src/main/kotlin/com/woocommerce/android/ui/bookings/filter/type/BookingTypeFilterUiState.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ data class BookingTypeFilterUiState(
2424
)
2525
}
2626

27-
val BookingType.remoteValue: String?
28-
// TODO Update this with actual endpoint values
29-
get() = when (this.value) {
30-
BookingType.Type.SERVICE -> "service"
31-
BookingType.Type.EVENT -> "event"
32-
BookingType.Type.ANY -> null
33-
}
34-
3527
val BookingType.titleRes: Int
3628
@StringRes get() = when (this.value) {
3729
BookingType.Type.ANY -> R.string.bookings_filter_default

0 commit comments

Comments
 (0)