Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Add abilty to restart flipper server from trouble shoot menu
Browse files Browse the repository at this point in the history
Summary: Hopefully this will be easier to descibe and find for users than the small icon in mac os menu bar

Reviewed By: passy

Differential Revision: D58282148

fbshipit-source-id: 87f3474c317f38ce906bd3d6ab09b2a2da1557cd
  • Loading branch information
Luke De Feo authored and facebook-github-bot committed Jun 7, 2024
1 parent 8deb991 commit f27d31c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions desktop/flipper-ui/src/sandy-chrome/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,13 @@ function TroubleshootMenu() {
}}>
Restart ADB (Android connections)
</Menu.Item>
<Menu.Item
key="restart-flipper-serer"
onClick={() => {
getFlipperServer().exec('restart');
}}>
Restart Flipper Server
</Menu.Item>
</Menu.SubMenu>
</Menu>
</Badge>
Expand Down

0 comments on commit f27d31c

Please sign in to comment.