mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-29 17:38:04 +01:00
return promise on safari send message
This commit is contained in:
parent
bb2b750905
commit
347b1d2910
@ -81,7 +81,7 @@ class BrowserApi {
|
||||
return BrowserApi.tabSendMessage(tab, obj);
|
||||
}
|
||||
|
||||
static tabSendMessage(tab: any, obj: any): Promise<any[]> {
|
||||
static tabSendMessage(tab: any, obj: any): Promise<any> {
|
||||
if (!tab || !tab.id) {
|
||||
return;
|
||||
}
|
||||
@ -93,7 +93,7 @@ class BrowserApi {
|
||||
});
|
||||
});
|
||||
} else if (BrowserApi.isSafariApi) {
|
||||
// TODO
|
||||
return Promise.resolve(); // TODO
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user