Skip to content

Commit

Permalink
make image preview with 0.8 alpha black atop the normal background, t…
Browse files Browse the repository at this point in the history
…his makes it easier to see the image without the background interfering so much (#625)

Co-authored-by: Dessalines <[email protected]>
  • Loading branch information
Vijay Ramesh and dessalines authored Jun 15, 2023
1 parent 241c384 commit f680226
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ fun ImageViewerDialog(url: String, onBackRequest: () -> Unit) {
}

val backColor = MaterialTheme.colorScheme.scrim
val backColorTranslucent = MaterialTheme.colorScheme.scrim.copy(alpha = 0.4f)
val backColorTranslucent = MaterialTheme.colorScheme.scrim.copy(alpha = 0.8f)

var showTopBar by remember { mutableStateOf(true) }

Expand Down

0 comments on commit f680226

Please sign in to comment.