Skip to content

Commit

Permalink
Fix taps passing through appbar background
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth committed Oct 7, 2023
1 parent d8e1fa6 commit 1032cb5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.input.pointer.pointerInput
import androidx.compose.ui.unit.dp
import dev.sasikanth.rss.reader.components.DropdownMenu
import dev.sasikanth.rss.reader.components.DropdownMenuItem
Expand Down Expand Up @@ -79,6 +80,7 @@ fun HomeTopAppBar(
Row(
modifier =
modifier
.pointerInput(Unit) {}
.fillMaxWidth()
.background(AppTheme.colorScheme.surface.copy(alpha = backgroundAlpha))
.windowInsetsPadding(
Expand Down

0 comments on commit 1032cb5

Please sign in to comment.