Update background color for acc being deleted

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2020-04-24 14:35:38 +02:00
parent 10c3bf5524
commit 7b8f518099
No known key found for this signature in database
GPG Key ID: CDE0BBD2738C4CC0

View File

@ -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) {