Tags sources reset.
This commit is contained in:
parent
748ed41096
commit
477883ed39
@ -89,6 +89,10 @@ class FilterSheetFragment : BottomSheetDialogFragment(), DIAware {
|
|||||||
(it as Chip).isCloseIconVisible = true
|
(it as Chip).isCloseIconVisible = true
|
||||||
tagChip = it
|
tagChip = it
|
||||||
repository.setTagFilter(tag)
|
repository.setTagFilter(tag)
|
||||||
|
|
||||||
|
sourceChip?.isCloseIconVisible = false
|
||||||
|
sourceChip = null
|
||||||
|
repository.setSourceFilter(null)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (repository.tagFilter.value?.equals(tag) == true) {
|
if (repository.tagFilter.value?.equals(tag) == true) {
|
||||||
@ -141,6 +145,11 @@ class FilterSheetFragment : BottomSheetDialogFragment(), DIAware {
|
|||||||
(it as Chip).isCloseIconVisible = true
|
(it as Chip).isCloseIconVisible = true
|
||||||
sourceChip = it
|
sourceChip = it
|
||||||
repository.setSourceFilter(source)
|
repository.setSourceFilter(source)
|
||||||
|
|
||||||
|
|
||||||
|
tagChip?.isCloseIconVisible = false
|
||||||
|
tagChip = null
|
||||||
|
repository.setTagFilter(null)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user