Skip to content

Commit

Permalink
Merge c48bfc4 into 80c4bf3
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-karuri committed Jul 27, 2020
2 parents 80c4bf3 + c48bfc4 commit 08d8935
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Expand Up @@ -205,12 +205,16 @@ public void onRequestPermissionsResult(int requestCode, String[] permissions, in

@Override
public void onAttach(Activity activity) {
setmJsonApi((JsonApi) activity);
if (activity instanceof JsonApi) {
setmJsonApi((JsonApi) activity);
}

super.onAttach(activity);
try {

if (getActivity() instanceof OnFieldsInvalid) {
onFieldsInvalid = (OnFieldsInvalid) getActivity();
} catch (ClassCastException ex) {
throw new ClassCastException("Error retrieving passed invalid fields");
} else {
Timber.e("Error retrieving passed invalid fields");
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
@@ -1,4 +1,4 @@
VERSION_NAME=1.13.4-SNAPSHOT
VERSION_NAME=1.13.5-SNAPSHOT
VERSION_CODE=1
GROUP=org.smartregister
POM_SETTING_DESCRIPTION=OpenSRP Client Native Form Json Wizard
Expand Down

0 comments on commit 08d8935

Please sign in to comment.