text view removed of "all registers are tested" for offline, its its only display if the internet is available
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user