Skip to content

Commit

Permalink
Rename CloeModal to HideModal
Browse files Browse the repository at this point in the history
  • Loading branch information
neilsarkar committed Aug 17, 2020
1 parent 9575ff2 commit bbc9325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Runtime/Navigation/Navigator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void ShowModal(ScreenId screenId) {
currentModal = screenId;
}

public void CloseModal() {
public void HideModal() {
if (currentModal == ScreenId.None) { return; }
screens[currentModal].gameObject.SetActive(false);
OnModalHide?.Invoke(currentModal);
Expand Down

0 comments on commit bbc9325

Please sign in to comment.