Skip to content

Commit

Permalink
feat: refocus composer on pin/unpin from LHN context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
jayeshmangwani committed Jul 10, 2023
1 parent 4f398db commit dd2428c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/home/report/ContextMenu/ContextMenuActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export default [
onPress: (closePopover, {reportID}) => {
Report.togglePinnedState(reportID, false);
if (closePopover) {
hideContextMenu(false);
hideContextMenu(false, ReportActionComposeFocusManager.focus);
}
},
getDescription: () => {},
Expand All @@ -311,7 +311,7 @@ export default [
onPress: (closePopover, {reportID}) => {
Report.togglePinnedState(reportID, true);
if (closePopover) {
hideContextMenu(false);
hideContextMenu(false, ReportActionComposeFocusManager.focus);
}
},
getDescription: () => {},
Expand Down

0 comments on commit dd2428c

Please sign in to comment.