fix bug where addField button was enabled when it should not be
in EditProfileActivity
This commit is contained in:
parent
440a351e06
commit
268ebb55f0
|
@ -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 New Issue