mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 03:16:02 +03:00
Apply ouchadam's suggestion. It's only accessed by the main thread.
This commit is contained in:
parent
32573881e4
commit
5df0488cf2
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class TypingMessageAvatar @JvmOverloads constructor(
|
|||
const val OVERLAP_FACT0R = -3 // =~ 30% to left
|
||||
}
|
||||
|
||||
private val typingAvatarSize by lazy {
|
||||
private val typingAvatarSize by lazy(LazyThreadSafetyMode.NONE) {
|
||||
context.resources.getDimension(R.dimen.typing_avatar_size).toInt()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue