text view removed of "all registers are tested" for offline, its its only display if the internet is available

This commit is contained in:
Mariya
2024-02-13 12:57:41 +05:30
parent 9b2b64f248
commit fd5fb6db22

View File

@@ -136,6 +136,7 @@ class HomeFragment : Fragment() {
if (isConnected) {
binding.internetAvailableCL.visibility = View.VISIBLE
binding.internetNotAvailableCL.visibility = View.GONE
binding.pendingTest.visibility = View.VISIBLE
loadUserData()
setSearch()
checkForLocalDBData()
@@ -176,6 +177,7 @@ class HomeFragment : Fragment() {
} else {
binding.internetAvailableCL.visibility = View.GONE
binding.pendingTest.visibility = View.GONE
binding.internetNotAvailableCL.visibility = View.VISIBLE
setUserId()
}