Skip to content

Commit

Permalink
show item order
Browse files Browse the repository at this point in the history
  • Loading branch information
nqmgaming committed Jun 5, 2024
1 parent f5e2569 commit e14b08d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class CancelFragment : Fragment() {
val token = SharedPrefUtils.getString(requireContext(), "accessToken", "") ?: ""
val bearerToken = "Bearer $token"

viewModel.getOrders("Canceled") { orders ->
viewModel.getOrders("Cancelled") { orders ->
if (orders.isEmpty()) {
binding.emptyOrderLayout.visibility = View.VISIBLE
binding.orderRecyclerView.visibility = View.GONE
Expand Down

0 comments on commit e14b08d

Please sign in to comment.