fix bug where addField button was enabled when it should not be
in EditProfileActivity
This commit is contained in:
parent
91cb826adc
commit
336bc4d7ed
@ -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
Block a user