mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 10:35:19 +00:00
Replaced string 'CreateProfileActivity_profile_photo' with the string 'photo' which has the same text ('Photo')
This commit is contained in:
parent
eecce08c25
commit
51ef0ec81c
@ -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()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user