Skip to content

Commit

Permalink
Support calling mergeOptions on ExternalComponents
Browse files Browse the repository at this point in the history
  • Loading branch information
guyca committed Jan 14, 2019
1 parent f1ef49e commit b1e1ec8
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ public void sendOnNavigationButtonPressed(String buttonId) {
}
}

@Override
public void mergeOptions(Options options) {
if (options == Options.EMPTY) return;
performOnParentController(parentController -> parentController.mergeChildOptions(options, this, getView()));
super.mergeOptions(options);
}

public FragmentActivity getActivity() {
return (FragmentActivity) super.getActivity();
}
Expand Down

0 comments on commit b1e1ec8

Please sign in to comment.