refs #6531feat:showLastTickets
This commit is contained in:
parent
605b702742
commit
18dd98cf7d
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue