Fix bug toggle account availbility cause toggle other account availbility
This commit is contained in:
parent
f379e6e271
commit
19bd2d4d4f
|
@ -67,6 +67,7 @@ class AccountViewHolder(
|
|||
adapter.requestManager.loadProfileImage(adapter.context, details, adapter.profileImageStyle,
|
||||
profileImage.cornerRadius, profileImage.cornerRadiusRatio).into(profileImage)
|
||||
accountType.setImageResource(AccountUtils.getAccountTypeIcon(details.type))
|
||||
toggle.setOnCheckedChangeListener(null)
|
||||
toggle.isChecked = details.activated
|
||||
toggle.setOnCheckedChangeListener(adapter.checkedChangeListener)
|
||||
toggle.tag = layoutPosition
|
||||
|
|
Loading…
Reference in New Issue