Avoid duplicate _showGist() calls when menu item is selected (#2061)
Avoid duplicate _showGist() calls when menu item is selected (#2061)

* Avoid duplicate _showGist() calls when menu item is selected

* remove redundant null check

* formatting
dart-lang/dart-pad,dart-lang/dart-pad,dart-lang/dart-pad,dart-lang/dart-pad