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