Replaced string 'CreateProfileActivity_profile_photo' with the string 'photo' which has the same text ('Photo')

This commit is contained in:
Al Lansley 2024-08-15 09:45:28 +10:00
parent eecce08c25
commit 51ef0ec81c

View File

@ -33,7 +33,7 @@ class AvatarSelection(
private val bgColor by lazy { activity.getColorFromAttr(android.R.attr.colorPrimary) } private val bgColor by lazy { activity.getColorFromAttr(android.R.attr.colorPrimary) }
private val txtColor by lazy { activity.getColorFromAttr(android.R.attr.textColorPrimary) } 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 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] * Returns result on [.REQUEST_CODE_CROP_IMAGE]
@ -126,7 +126,7 @@ class AvatarSelection(
val chooserIntent = Intent.createChooser( val chooserIntent = Intent.createChooser(
galleryIntent, galleryIntent,
context.getString(R.string.CreateProfileActivity_profile_photo) context.getString(R.string.photo)
) )
if (!extraIntents.isEmpty()) { if (!extraIntents.isEmpty()) {