export hardcoded strings (#547)

This commit is contained in:
Andre K 2022-12-28 17:37:25 -03:00 committed by GitHub
parent 96ea0bf5a9
commit 99a42b1aa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 186 additions and 468 deletions

View file

@ -91,7 +91,7 @@ fun BitwisePreference(
colors = ButtonDefaults.buttonColors(backgroundColor = Color.Red)
) {
Text(
text = stringResource(id = R.string.clear_last_messages),
text = stringResource(id = R.string.clear),
style = MaterialTheme.typography.body1,
color = Color.Unspecified,
)

View file

@ -48,7 +48,7 @@ fun PreferenceFooter(
colors = ButtonDefaults.buttonColors(backgroundColor = Color.Green)
) {
Text(
text = stringResource(id = R.string.save_btn),
text = stringResource(id = R.string.save),
style = MaterialTheme.typography.body1,
color = if (!enabled) MaterialTheme.colors.onSurface.copy(alpha = ContentAlpha.disabled) else Color.DarkGray,
)