Added content description

Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me>
This commit is contained in:
Arnau Mora 2024-06-17 13:20:12 +02:00 committed by Ricki Hirner
parent 3aa205c3c3
commit 0935bca1a2
2 changed files with 4 additions and 1 deletions

View File

@ -20,8 +20,10 @@ import androidx.compose.runtime.Composable
import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import at.bitfire.davdroid.R
import at.bitfire.davdroid.ui.AppTheme
import at.bitfire.davdroid.ui.composable.ButtonWithIcon
import at.bitfire.davdroid.ui.composable.PositionIndicator
@ -69,7 +71,7 @@ fun IntroScreen(
} else {
Icons.AutoMirrored.Default.ArrowForward
},
contentDescription = null,
contentDescription = stringResource(R.string.intro_next),
modifier = Modifier
.padding(end = 16.dp)
.align(Alignment.CenterEnd)

View File

@ -60,6 +60,7 @@
<string name="intro_open_source_text">We\'re happy that you use %s, which is open-source software. Development, maintenance and support are hard work. Please consider contributing (there are many ways) or a donation. It would be highly appreciated!</string>
<string name="intro_open_source_details">How to contribute/donate</string>
<string name="intro_open_source_dont_show">Don\'t show in the near future</string>
<string name="intro_next">Next</string>
<!-- PermissionsActivity -->
<string name="permissions_title">Permissions</string>