Skip to content

Commit

Permalink
[menu-bar] Remove unused main menu options (#128)
Browse files Browse the repository at this point in the history
* [menu-bar] Remove unused main menu options

* Add changelog entry
  • Loading branch information
gabrieldonadel authored Jan 5, 2024
1 parent d288ce1 commit 05a2072
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 616 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
- Upgrade @react-native-clipboard/clipboard to 1.13.1 and remove patch. ([#116](https://github.com/expo/orbit/pull/116) by [@gabrieldonadel](https://github.com/gabrieldonadel))
- Configure EAS build workflow. ([#115](https://github.com/expo/orbit/pull/115) by [@gabrieldonadel](https://github.com/gabrieldonadel))
- Refresh the Settings window UI. ([#121](https://github.com/expo/orbit/pull/121) by [@simek](https://github.com/simek))
- Remove unused options from native main menu when the app is focused. ([#128](https://github.com/expo/orbit/pull/128) by [@gabrieldonadel](https://github.com/gabrieldonadel))

## 1.0.1 — 2023-12-01

Expand Down
1 change: 1 addition & 0 deletions apps/menu-bar/macos/ExpoMenuBar-macOS/AppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
@property(nonatomic, strong, readonly) NSPopover *popover;
- (void)openPopover;
- (void)closePopover;
- (IBAction)showHelp:(id)sender;

@end
4 changes: 4 additions & 0 deletions apps/menu-bar/macos/ExpoMenuBar-macOS/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,8 @@ - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
#endif
}

- (IBAction)showHelp:(id)sender {
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://docs.expo.dev/build/orbit/"]];
}

@end
Loading

0 comments on commit 05a2072

Please sign in to comment.