Bug 1816867 - Ensure Pocket topics selections are properly shown
commit310991ddf4b94389559296eb383c35781eea8a33
authorMugurell <Mugurell@users.noreply.github.com>
Fri, 17 Feb 2023 15:29:38 +0000 (17 17:29 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 20 Feb 2023 16:22:39 +0000 (20 16:22 +0000)
tree7120d3fca41744b76b63b8a694d817c44ede900f
parentddca841b8be7f44b7717b1a90c9827ef2f9c28c8
Bug 1816867 - Ensure Pocket topics selections are properly shown

A past refactoring resulted in the functionality still working as intended - no
more than 8 topics being selectable at a time but when a topic would be
automatically deselected this would not show - that topic would still be
displayed as selected.

Moving the implementation to a new `FilterChip` Compose api fixes the UI issue
and also allows for more idiomatic code and fixes a previously disabled UI test
mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/HomeScreenTest.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/compose/Chip.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/pocket/PocketStoriesComposables.kt