[PM-8833] Refactoring implementation

This commit is contained in:
Cesar Gonzalez 2024-10-01 13:11:36 -05:00
parent 8727b7dbd4
commit 74ff56589e
No known key found for this signature in database
GPG Key ID: 3381A5457F8CCECF
1 changed files with 2 additions and 2 deletions

View File

@ -2562,7 +2562,7 @@ export class OverlayBackground implements OverlayBackgroundInterface {
* Triggers a closure of the inline menu during a reposition event.
*
* @param sender - The sender of the message
| */
*/
private async closeInlineMenuAfterReposition(sender: chrome.runtime.MessageSender) {
await this.toggleInlineMenuHidden(
{ isInlineMenuHidden: false, setTransparentInlineMenu: true },
@ -2716,7 +2716,7 @@ export class OverlayBackground implements OverlayBackgroundInterface {
* Stores the connected overlay port and sets up any existing ports to be disconnected.
*
* @param port - The port to store
| */
*/
private storeOverlayPort(port: chrome.runtime.Port) {
if (port.name === AutofillOverlayPort.List) {
this.storeExpiredOverlayPort(this.inlineMenuListPort);