home: disable click listener when no error
This commit is contained in:
@@ -323,6 +323,8 @@ class HomeFragment :
|
||||
findNavController()
|
||||
.navigateSafe(HomeFragmentDirections.reportError(state.error))
|
||||
}
|
||||
} else {
|
||||
binding.homeIndexingContainer.setOnClickListener(null)
|
||||
}
|
||||
}
|
||||
is IndexingState.Indexing -> {
|
||||
|
||||
Reference in New Issue
Block a user