pending finaces on dashboard is now a button that takes you to finaces page

This commit is contained in:
2026-05-23 23:12:50 +05:00
parent 473e051282
commit 8e345746ed
2 changed files with 8 additions and 1 deletions
@@ -53,6 +53,10 @@ class DashboardFragment : Fragment() {
binding.swipeRefresh.isRefreshing = false
}
binding.cardPendingFinances.setOnClickListener {
(activity as? HomeActivity)?.navigateTo(R.id.nav_finances)
}
val cardAdapter = DashboardCardAdapter()
binding.rvCards.layoutManager = LinearLayoutManager(requireContext(), LinearLayoutManager.HORIZONTAL, false)
binding.rvCards.adapter = cardAdapter