This commit is contained in:
Benoit Marty 2020-04-24 18:06:02 +02:00
parent 35962c3cb5
commit ebecb9bb9a
1 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@ class CrossSigningEpoxyController @Inject constructor(
if (vectorPreferences.developerMode() && !data.isUploadingKeys) { if (vectorPreferences.developerMode() && !data.isUploadingKeys) {
bottomSheetVerificationActionItem { bottomSheetVerificationActionItem {
id("resetkeys") id("resetkeys")
title("Reset keys") title(stringProvider.getString(R.string.reset_cross_signing))
titleColor(colorProvider.getColor(R.color.riotx_destructive_accent)) titleColor(colorProvider.getColor(R.color.riotx_destructive_accent))
iconRes(R.drawable.ic_arrow_right) iconRes(R.drawable.ic_arrow_right)
iconColor(colorProvider.getColor(R.color.riotx_destructive_accent)) iconColor(colorProvider.getColor(R.color.riotx_destructive_accent))
@ -73,7 +73,7 @@ class CrossSigningEpoxyController @Inject constructor(
if (vectorPreferences.developerMode()) { if (vectorPreferences.developerMode()) {
bottomSheetVerificationActionItem { bottomSheetVerificationActionItem {
id("resetkeys") id("resetkeys")
title("Reset keys") title(stringProvider.getString(R.string.reset_cross_signing))
titleColor(colorProvider.getColor(R.color.riotx_destructive_accent)) titleColor(colorProvider.getColor(R.color.riotx_destructive_accent))
iconRes(R.drawable.ic_arrow_right) iconRes(R.drawable.ic_arrow_right)
iconColor(colorProvider.getColor(R.color.riotx_destructive_accent)) iconColor(colorProvider.getColor(R.color.riotx_destructive_accent))
@ -113,7 +113,7 @@ class CrossSigningEpoxyController @Inject constructor(
if (vectorPreferences.developerMode()) { if (vectorPreferences.developerMode()) {
bottomSheetVerificationActionItem { bottomSheetVerificationActionItem {
id("resetkeys") id("resetkeys")
title("Reset keys") title(stringProvider.getString(R.string.reset_cross_signing))
titleColor(colorProvider.getColor(R.color.riotx_destructive_accent)) titleColor(colorProvider.getColor(R.color.riotx_destructive_accent))
iconRes(R.drawable.ic_arrow_right) iconRes(R.drawable.ic_arrow_right)
iconColor(colorProvider.getColor(R.color.riotx_destructive_accent)) iconColor(colorProvider.getColor(R.color.riotx_destructive_accent))
@ -130,7 +130,7 @@ class CrossSigningEpoxyController @Inject constructor(
if (vectorPreferences.developerMode() && !data.isUploadingKeys) { if (vectorPreferences.developerMode() && !data.isUploadingKeys) {
bottomSheetVerificationActionItem { bottomSheetVerificationActionItem {
id("initKeys") id("initKeys")
title("Initialize keys") title(stringProvider.getString(R.string.initialize_cross_signing))
titleColor(colorProvider.getColor(R.color.riotx_positive_accent)) titleColor(colorProvider.getColor(R.color.riotx_positive_accent))
iconRes(R.drawable.ic_arrow_right) iconRes(R.drawable.ic_arrow_right)
iconColor(colorProvider.getColor(R.color.riotx_positive_accent)) iconColor(colorProvider.getColor(R.color.riotx_positive_accent))