Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb9d307d authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

6817-fix_noUpdate_page_showing_wrongly

parent bee5f7cc
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -315,7 +315,15 @@ class UpdatesFragment : TimeoutFragment(R.layout.fragment_updates), FusedAPIInte

    override fun stopLoadingUI() {
        binding.progressBar.visibility = View.GONE

        if ((binding.recyclerView.adapter?.itemCount ?: 0) > 0) {
            binding.noUpdates.visibility = View.GONE
            binding.recyclerView.visibility = View.VISIBLE
            return
        }

        binding.noUpdates.visibility = View.VISIBLE
        binding.recyclerView.visibility = View.INVISIBLE
    }

    override fun onResume() {