|
@@ -321,11 +321,7 @@ fun ImageView.loadDefaultGroupCallAvatar(viewThemeUtils: ViewThemeUtils): io.rea
|
|
|
}
|
|
|
|
|
|
fun ImageView.loadDefaultAvatar(viewThemeUtils: ViewThemeUtils): io.reactivex.disposables.Disposable {
|
|
|
- val data: Any = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
|
|
- viewThemeUtils.talk.themePlaceholderAvatar(this, R.drawable.account_circle_96dp) as Any
|
|
|
- } else {
|
|
|
- R.drawable.account_circle_96dp
|
|
|
- }
|
|
|
+ val data: Any = viewThemeUtils.talk.themePlaceholderAvatar(this, R.drawable.account_circle_96dp) as Any
|
|
|
return loadUserAvatar(data)
|
|
|
}
|
|
|
|