refs #6531feat:showLastTickets

This commit is contained in:
Sergio De la torre 2024-02-09 09:36:56 +01:00
parent 605b702742
commit 18dd98cf7d
1 changed files with 4 additions and 2 deletions

View File

@ -47,7 +47,8 @@ class ShowTicketFragment(var menuOrigin: String) :
hideBackButton(binding.mainToolbar)
}
setEvents()
viewModel.lastTicketGetByWorker(mobileApplication.userId!!)
//Tarea 6531
// viewModel.lastTicketGetByWorker(mobileApplication.userId!!)
super.init()
}
@ -69,7 +70,8 @@ class ShowTicketFragment(var menuOrigin: String) :
}
binding.sacadorSwipe.setOnRefreshListener {
binding.sacadorSwipe.isRefreshing = true
viewModel.lastTicketGetByWorker(mobileApplication.userId!!)
//Tarea 6531
// viewModel.lastTicketGetByWorker(mobileApplication.userId!!)
binding.sacadorSwipe.isRefreshing = false
}