From 51ef0ec81c8810c42379c863d970754ebc0814b8 Mon Sep 17 00:00:00 2001 From: Al Lansley Date: Thu, 15 Aug 2024 09:45:28 +1000 Subject: [PATCH] Replaced string 'CreateProfileActivity_profile_photo' with the string 'photo' which has the same text ('Photo') --- .../java/org/thoughtcrime/securesms/avatar/AvatarSelection.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/avatar/AvatarSelection.kt b/app/src/main/java/org/thoughtcrime/securesms/avatar/AvatarSelection.kt index adf4b0927c..03efa75d9a 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/avatar/AvatarSelection.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/avatar/AvatarSelection.kt @@ -33,7 +33,7 @@ class AvatarSelection( private val bgColor by lazy { activity.getColorFromAttr(android.R.attr.colorPrimary) } private val txtColor by lazy { activity.getColorFromAttr(android.R.attr.textColorPrimary) } private val imageScrim by lazy { ContextCompat.getColor(activity, R.color.avatar_background) } - private val activityTitle by lazy { activity.getString(R.string.CropImageActivity_profile_avatar) } + private val activityTitle by lazy { activity.getString(R.string.photo) } /** * Returns result on [.REQUEST_CODE_CROP_IMAGE] @@ -126,7 +126,7 @@ class AvatarSelection( val chooserIntent = Intent.createChooser( galleryIntent, - context.getString(R.string.CreateProfileActivity_profile_photo) + context.getString(R.string.photo) ) if (!extraIntents.isEmpty()) {