Fixing strings

This commit is contained in:
ThomasSession 2024-09-02 17:00:59 +10:00 committed by fanchao
parent 32acd6e029
commit 28d59f9ec9
3 changed files with 11 additions and 3 deletions

View File

@ -21,7 +21,6 @@ fun OnboardingBackPressAlertDialog(
quit: () -> Unit
) {
val c = LocalContext.current
val quitButtonText = c.getSubbedString(R.string.quit, APP_NAME_KEY to APP_NAME)
AlertDialog(
onDismissRequest = dismissDialog,
@ -31,7 +30,7 @@ fun OnboardingBackPressAlertDialog(
},
buttons = listOf(
DialogButtonModel(
text = GetString(quitButtonText),
text = GetString(stringResource(id = R.string.quitButton)),
color = LocalColors.current.danger,
onClick = quit
),

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<ripple
xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?android:colorControlHighlight">
<item>
<color android:color="?colorPrimary" />
</item>
</ripple>

View File

@ -124,7 +124,7 @@
android:id="@+id/emptyStateMessageTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/conversationsNone"
android:text="@string/contactNone"
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/medium_font_size"
app:layout_constraintBottom_toTopOf="@id/createNewPrivateChatButton"