mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 03:29:28 +01:00
remove android version check
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
b71218973e
commit
cb3614da34
@ -321,11 +321,7 @@ fun ImageView.loadDefaultGroupCallAvatar(viewThemeUtils: ViewThemeUtils): io.rea
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun ImageView.loadDefaultAvatar(viewThemeUtils: ViewThemeUtils): io.reactivex.disposables.Disposable {
|
fun ImageView.loadDefaultAvatar(viewThemeUtils: ViewThemeUtils): io.reactivex.disposables.Disposable {
|
||||||
val data: Any = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
val data: Any = viewThemeUtils.talk.themePlaceholderAvatar(this, R.drawable.account_circle_96dp) as Any
|
||||||
viewThemeUtils.talk.themePlaceholderAvatar(this, R.drawable.account_circle_96dp) as Any
|
|
||||||
} else {
|
|
||||||
R.drawable.account_circle_96dp
|
|
||||||
}
|
|
||||||
return loadUserAvatar(data)
|
return loadUserAvatar(data)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user