mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-21 15:05:19 +00:00
Fixing strings
This commit is contained in:
parent
32acd6e029
commit
28d59f9ec9
@ -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
|
||||
),
|
||||
|
@ -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>
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user