mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 16:49:40 +01:00
Convert Recipient to kotlin.
This commit is contained in:
@@ -122,7 +122,7 @@ data class NotificationConversation(
|
||||
StoryViewerArgs(
|
||||
recipientId = recipient.id,
|
||||
storyId = thread.groupStoryId,
|
||||
isInHiddenStoryMode = recipient.shouldHideStory(),
|
||||
isInHiddenStoryMode = recipient.shouldHideStory,
|
||||
isFromNotification = true,
|
||||
groupReplyStartPosition = mostRecentNotification.getStartingPosition(context)
|
||||
)
|
||||
|
||||
@@ -41,7 +41,7 @@ fun Recipient.getContactDrawable(context: Context): Drawable? {
|
||||
return if (contactPhoto != null) {
|
||||
try {
|
||||
val transforms: MutableList<Transformation<Bitmap>> = mutableListOf()
|
||||
if (shouldBlurAvatar()) {
|
||||
if (shouldBlurAvatar) {
|
||||
transforms += BlurTransformation(ApplicationDependencies.getApplication(), 0.25f, BlurTransformation.MAX_RADIUS)
|
||||
}
|
||||
transforms += CircleCrop()
|
||||
|
||||
Reference in New Issue
Block a user