diff --git a/vector/src/main/java/im/vector/riotx/core/ui/views/KeysBackupBanner.kt b/vector/src/main/java/im/vector/riotx/core/ui/views/KeysBackupBanner.kt index 252eab02a6..d0cea6194b 100755 --- a/vector/src/main/java/im/vector/riotx/core/ui/views/KeysBackupBanner.kt +++ b/vector/src/main/java/im/vector/riotx/core/ui/views/KeysBackupBanner.kt @@ -17,7 +17,6 @@ package im.vector.riotx.core.ui.views import android.content.Context -import androidx.preference.PreferenceManager import android.util.AttributeSet import android.view.View import android.view.ViewGroup @@ -25,6 +24,7 @@ import android.widget.TextView import androidx.constraintlayout.widget.ConstraintLayout import androidx.core.content.edit import androidx.core.view.isVisible +import androidx.preference.PreferenceManager import androidx.transition.TransitionManager import butterknife.BindView import butterknife.ButterKnife @@ -160,9 +160,9 @@ class KeysBackupBanner @JvmOverloads constructor( } else { isVisible = true - textView1.setText(R.string.keys_backup_banner_setup_line1) + textView1.setText(R.string.secure_backup_banner_setup_line1) textView2.isVisible = true - textView2.setText(R.string.keys_backup_banner_setup_line2) + textView2.setText(R.string.secure_backup_banner_setup_line2) close.isVisible = true } } @@ -195,7 +195,7 @@ class KeysBackupBanner @JvmOverloads constructor( private fun renderBackingUp() { isVisible = true - textView1.setText(R.string.keys_backup_banner_setup_line1) + textView1.setText(R.string.secure_backup_banner_setup_line1) textView2.isVisible = true textView2.setText(R.string.keys_backup_banner_in_progress) loading.isVisible = true diff --git a/vector/src/main/res/layout/view_keys_backup_banner.xml b/vector/src/main/res/layout/view_keys_backup_banner.xml index 4c3ec1da3f..6c8fc2b5a1 100644 --- a/vector/src/main/res/layout/view_keys_backup_banner.xml +++ b/vector/src/main/res/layout/view_keys_backup_banner.xml @@ -34,7 +34,7 @@ android:layout_height="wrap_content" android:layout_marginStart="27dp" android:layout_marginLeft="27dp" - android:text="@string/keys_backup_banner_setup_line1" + android:text="@string/secure_backup_banner_setup_line1" android:textColor="?riotx_text_primary" android:textSize="18sp" app:layout_constraintBottom_toTopOf="@id/view_keys_backup_banner_text_2" @@ -48,7 +48,7 @@ android:layout_height="wrap_content" android:layout_marginStart="27dp" android:layout_marginLeft="27dp" - android:text="@string/keys_backup_banner_setup_line2" + android:text="@string/secure_backup_banner_setup_line2" android:textColor="?riotx_text_secondary" android:textSize="14sp" android:visibility="gone" diff --git a/vector/src/main/res/values/strings.xml b/vector/src/main/res/values/strings.xml index 8451191273..f34224b246 100644 --- a/vector/src/main/res/values/strings.xml +++ b/vector/src/main/res/values/strings.xml @@ -1496,8 +1496,11 @@ Why choose Riot.im? It was me - Secure Backup - Safeguard against losing access to encrypted messages & data + Never lose encrypted messages + Start using Key Backup + + Secure Backup + Safeguard against losing access to encrypted messages & data Never lose encrypted messages Use Key Backup