From 647d6f984195353dc8c369efaaf0d1bc845872a6 Mon Sep 17 00:00:00 2001 From: davotoula Date: Thu, 23 Apr 2026 21:09:25 +0200 Subject: [PATCH] fix: remove duplicate @Suppress annotation on SearchFilterRow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Kotlin rejects the annotation being applied twice on the same function — broke compileFdroidDebugKotlin and compilePlayDebugKotlin. Keeping the one above @Composable, removing the duplicate below. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../amethyst/ui/screen/loggedIn/search/SearchScreen.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/search/SearchScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/search/SearchScreen.kt index 6e83e5793..003f25011 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/search/SearchScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/search/SearchScreen.kt @@ -217,7 +217,6 @@ private fun hasNonDefaultFilters( @OptIn(ExperimentalMaterial3Api::class) @Suppress("AssignedValueIsNeverRead") @Composable -@Suppress("AssignedValueIsNeverRead") private fun SearchFilterRow(searchBarViewModel: SearchBarViewModel) { val currentScope by searchBarViewModel.scope.collectAsStateWithLifecycle() val currentSource by searchBarViewModel.source.collectAsStateWithLifecycle()