Fix content under source browse screen top appbar is interactable (mihonapp/mihon#2026)

(cherry picked from commit 9750c1e4bd6b931e71b7b348abbe2638a8cf317b)
This commit is contained in:
AntsyLich 2025-04-20 19:12:41 +06:00 committed by Cuong-Tran
parent 29d26ff315
commit 39280a6f54
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2
2 changed files with 7 additions and 1 deletions

View file

@ -43,6 +43,7 @@ The format is a modified version of [Keep a Changelog](https://keepachangelog.co
- Fix unintended app permissions due to Firebase misconfiguration ([@AntsyLich](https://github.com/AntsyLich)) ([#1960](https://github.com/mihonapp/mihon/pull/1960))
- Fix navigation issue after migrating a duplicated entry from History tab ([@cuong-tran](https://github.com/cuong-tran)) ([#1980](https://github.com/mihonapp/mihon/pull/1980))
- Fix duplicate requests in WebView due to empty reasonPhrase ([@AwkwardPeak7](https://github.com/AwkwardPeak7)) ([#2003](https://github.com/mihonapp/mihon/pull/2003))
- Fix content under source browse screen top appbar is interactable ([@AntsyLich](https://github.com/AntsyLich)) ([#2026](https://github.com/mihonapp/mihon/pull/2026))
### Removed
- Remove Okhttp networking from WebView Screen ([@AwkwardPeak7](https://github.com/AwkwardPeak7)) ([#2020](https://github.com/mihonapp/mihon/pull/2020))

View file

@ -29,6 +29,7 @@ import androidx.compose.runtime.remember
import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.ui.Modifier
import androidx.compose.ui.hapticfeedback.HapticFeedbackType
import androidx.compose.ui.input.pointer.pointerInput
import androidx.compose.ui.platform.LocalConfiguration
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.platform.LocalHapticFeedback
@ -186,7 +187,11 @@ data class BrowseSourceScreen(
Scaffold(
topBar = {
Column(modifier = Modifier.background(MaterialTheme.colorScheme.surface)) {
Column(
modifier = Modifier
.background(MaterialTheme.colorScheme.surface)
.pointerInput(Unit) {},
) {
// KMK -->
if (bulkFavoriteState.selectionMode) {
BulkSelectionToolbar(