fix bug where addField button was enabled when it should not be
in EditProfileActivity
This commit is contained in:
parent
440a351e06
commit
268ebb55f0
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ class EditProfileActivity : BaseActivity(), Injectable {
|
|||
lockedCheckBox.isChecked = me.locked
|
||||
|
||||
accountFieldEditAdapter.setFields(me.source?.fields ?: emptyList())
|
||||
addFieldButton.isEnabled = me.source?.fields?.size ?: 0 < MAX_ACCOUNT_FIELDS
|
||||
|
||||
if(viewModel.avatarData.value == null) {
|
||||
Picasso.with(this)
|
||||
|
|
Loading…
Reference in a new issue