mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-12-15 05:01:45 +03:00
remove android version check
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
b71218973e
commit
cb3614da34
1 changed files with 1 additions and 5 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue