From 410fcb73c502f3c71b90250f1bfcd343626dea35 Mon Sep 17 00:00:00 2001 From: zbue <108109611+zbue@users.noreply.github.com> Date: Wed, 7 Dec 2022 11:20:57 +0800 Subject: [PATCH] Fix appbar back button in global search screen (#8689) --- .../kanade/presentation/browse/components/GlobalSearchToolbar.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/presentation/browse/components/GlobalSearchToolbar.kt b/app/src/main/java/eu/kanade/presentation/browse/components/GlobalSearchToolbar.kt index 2924a8633e..d45a02853e 100644 --- a/app/src/main/java/eu/kanade/presentation/browse/components/GlobalSearchToolbar.kt +++ b/app/src/main/java/eu/kanade/presentation/browse/components/GlobalSearchToolbar.kt @@ -24,6 +24,7 @@ fun GlobalSearchToolbar( searchQuery = searchQuery, onChangeSearchQuery = onChangeSearchQuery, onSearch = onSearch, + onClickCloseSearch = navigateUp, navigateUp = navigateUp, scrollBehavior = scrollBehavior, )