home: disable click listener when no error
This commit is contained in:
parent
028fff4c42
commit
0f4a550775
1 changed files with 2 additions and 0 deletions
|
@ -323,6 +323,8 @@ class HomeFragment :
|
|||
findNavController()
|
||||
.navigateSafe(HomeFragmentDirections.reportError(state.error))
|
||||
}
|
||||
} else {
|
||||
binding.homeIndexingContainer.setOnClickListener(null)
|
||||
}
|
||||
}
|
||||
is IndexingState.Indexing -> {
|
||||
|
|
Loading…
Reference in a new issue