From 69f0787a26baafcb37c814d926945c8dae1f3333 Mon Sep 17 00:00:00 2001 From: Abdallah <54363735+abdallahmehiz@users.noreply.github.com> Date: Sun, 26 May 2024 06:54:43 +0100 Subject: [PATCH] fix: Browse icon not animating after first interaction (#1582) --- app/src/main/java/eu/kanade/tachiyomi/ui/browse/BrowseTab.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/BrowseTab.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/BrowseTab.kt index 56f638d8b..8a898dcca 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/BrowseTab.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/BrowseTab.kt @@ -36,7 +36,7 @@ data class BrowseTab( override val options: TabOptions @Composable get() { - val isSelected = LocalTabNavigator.current.current.key == key + val isSelected = LocalTabNavigator.current.current is BrowseTab val image = AnimatedImageVector.animatedVectorResource(R.drawable.anim_browse_enter) return TabOptions( index = 3u,