mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-25 14:40:41 +01:00
Update background color for acc being deleted
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
10c3bf5524
commit
7b8f518099
@ -56,7 +56,8 @@ open class SettingsPresenter<T : Any>(context: Context, onElementClick: ((Page,
|
||||
holder.itemView.userProgressBar.isVisible = user.status == UserStatus.PENDING_DELETE
|
||||
|
||||
if (user.status == UserStatus.PENDING_DELETE) {
|
||||
holder.itemView.setBackgroundResource(0)
|
||||
holder.itemView.setBackgroundColor(context.resources.getColor(R.color.nc_darkRed))
|
||||
holder.itemView.background.alpha = 191
|
||||
holder.itemView.userMoreOptionsView.visibility = View.INVISIBLE
|
||||
} else {
|
||||
if (user.status == UserStatus.ACTIVE) {
|
||||
|
Loading…
Reference in New Issue
Block a user