Apply alpha to weak tag

This commit is contained in:
tarsin committed 2023-03-16 23:47:38 +08:00
1 parent e51142ae32
commit c91bbc94fd
1 file changed
+1
@@ -919,6 +919,7 @@ class GalleryDetailScene : CollapsingToolbarScene(), View.OnClickListener, Downl
Text(
text = text,
modifier = modifier.padding(horizontal = 12.dp, vertical = 4.dp),
color = MaterialTheme.colorScheme.onSurface.let { if (weak) it.copy(0.5F) else it },
style = MaterialTheme.typography.labelLarge
)
}