File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/orders Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -27,23 +27,17 @@ sealed class WooPosOrdersState {
2727 @Immutable
2828 data class Error (
2929 val message : String ,
30- val pullToRefreshState : WooPosPullToRefreshState = WooPosPullToRefreshState .Enabled ,
30+ val pullToRefreshState : WooPosPullToRefreshState = WooPosPullToRefreshState .Disabled ,
3131 ) : WooPosOrdersState() {
32- val items: List <OrderItemViewState > = emptyList()
33- val paginationState: WooPosPaginationState = WooPosPaginationState .None
3432 }
3533
3634 @Immutable
3735 data object Loading : WooPosOrdersState () {
38- val items: List <OrderItemViewState > = emptyList()
3936 val pullToRefreshState: WooPosPullToRefreshState = WooPosPullToRefreshState .Disabled
40- val paginationState: WooPosPaginationState = WooPosPaginationState .None
4137 }
4238
4339 @Immutable
4440 data object Empty : WooPosOrdersState () {
45- val items: List <OrderItemViewState > = emptyList()
4641 val pullToRefreshState: WooPosPullToRefreshState = WooPosPullToRefreshState .Enabled
47- val paginationState: WooPosPaginationState = WooPosPaginationState .None
4842 }
4943}
You can’t perform that action at this time.
0 commit comments