File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
composeMain/kotlin/dev/dimension/flare/ui/screen/settings
iosMain/kotlin/dev/dimension/flare/ui/component Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,13 @@ fun AboutScreenContent(
6161 style = MaterialTheme .typography.bodySmall,
6262 modifier =
6363 Modifier
64- // .alpha(MediumAlpha)
6564 .padding(horizontal = 16 .dp),
65+ color = MaterialTheme .colorScheme.onSurfaceVariant,
6666 )
6767 Text (
6868 text = version,
6969 style = MaterialTheme .typography.bodySmall,
70- // modifier = Modifier.alpha(MediumAlpha) ,
70+ color = MaterialTheme .colorScheme.onSurfaceVariant ,
7171 )
7272 ListItem (
7373 headlineContent = {
@@ -76,7 +76,6 @@ fun AboutScreenContent(
7676 supportingContent = {
7777 Text (
7878 text = " https://github.com/DimensionDev/Flare" ,
79- // modifier = Modifier.alpha(MediumAlpha),
8079 )
8180 },
8281 modifier =
@@ -98,7 +97,6 @@ fun AboutScreenContent(
9897 supportingContent = {
9998 Text (
10099 text = stringResource(resource = Res .string.settings_about_telegram_description),
101- // modifier = Modifier.alpha(MediumAlpha),
102100 )
103101 },
104102 modifier =
@@ -120,7 +118,6 @@ fun AboutScreenContent(
120118 supportingContent = {
121119 Text (
122120 text = stringResource(resource = Res .string.settings_about_localization_description),
123- // modifier = Modifier.alpha(MediumAlpha),
124121 )
125122 },
126123 modifier =
Original file line number Diff line number Diff line change @@ -113,9 +113,9 @@ private class IOSIndication(
113113 override fun ContentDrawScope.draw () {
114114 drawContent()
115115 if (isPressed) {
116- drawRect(color = color.copy(alpha = 0.15f ), size = size)
117- } else if (isHovered || isFocused) {
118116 drawRect(color = color.copy(alpha = 0.05f ), size = size)
117+ } else if (isHovered || isFocused) {
118+ drawRect(color = color.copy(alpha = 0.025f ), size = size)
119119 }
120120 }
121121 }
You can’t perform that action at this time.
0 commit comments