Skip to content

Commit

Permalink
Merge pull request #414 from OpenSRP/issue-1734-save-button-not-suppo…
Browse files Browse the repository at this point in the history
…rting-mls

Update remove family and family member forms save title to string.xml
  • Loading branch information
zzainulabidin authored Apr 1, 2021
2 parents 82d660e + b37169a commit e26faf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,11 @@ public void startJsonActivity(JSONObject jsonObject) {
Form form = new Form();
form.setActionBarBackground(R.color.family_actionbar);
form.setWizard(false);
form.setSaveLabel("Save");
form.setSaveLabel(getString(R.string.submit));
if (jsonObject.has(CoreConstants.REGISTER_TYPE.INDEPENDENT)) {
form.setName(getString(R.string.remove_client));
}
intent.putExtra(JsonFormConstants.JSON_FORM_KEY.FORM, form);

startActivityForResult(intent, JsonFormUtils.REQUEST_CODE_GET_JSON);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public void startJsonActivity(JSONObject jsonObject) {
Form form = new Form();
form.setActionBarBackground(R.color.family_actionbar);
form.setWizard(false);
form.setSaveLabel("Save");
form.setSaveLabel(getString(R.string.submit));
if (jsonObject.has(CoreConstants.REGISTER_TYPE.INDEPENDENT)) {
form.setName(getString(R.string.remove_client));
}
Expand Down

0 comments on commit e26faf6

Please sign in to comment.