mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
Signed-off-by: findseat <penglili@outlook.com> (#8636)
Signed-off-by: findseat <penglili@outlook.com>
This commit is contained in:
@@ -110,7 +110,7 @@ export class AccountSwitcherService {
|
||||
}),
|
||||
);
|
||||
|
||||
// Create a reusable observable that listens to the the switchAccountFinish message and returns the userId from the message
|
||||
// Create a reusable observable that listens to the switchAccountFinish message and returns the userId from the message
|
||||
this.switchAccountFinished$ = fromChromeEvent<[message: { command: string; userId: string }]>(
|
||||
chrome.runtime.onMessage,
|
||||
).pipe(
|
||||
|
||||
@@ -203,7 +203,7 @@ describe("BrowserPopupUtils", () => {
|
||||
expect(BrowserPopupUtils["buildPopoutUrl"]).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it("replaces any existing `uilocation=` query params within the passed extension url path to state the the uilocaiton is a popup", async () => {
|
||||
it("replaces any existing `uilocation=` query params within the passed extension url path to state the uilocation is a popup", async () => {
|
||||
const url = "popup/index.html?uilocation=sidebar#/tabs/vault";
|
||||
jest.spyOn(BrowserPopupUtils as any, "isSingleActionPopoutOpen").mockResolvedValueOnce(false);
|
||||
|
||||
|
||||
@@ -164,7 +164,7 @@ export class DesktopSettingsService {
|
||||
|
||||
/**
|
||||
* Sets the setting for whether or not the application should be shown in the dock.
|
||||
* @param value `true` if the application should should in the dock, `false` if it should not.
|
||||
* @param value `true` if the application should show in the dock, `false` if it should not.
|
||||
*/
|
||||
async setAlwaysShowDock(value: boolean) {
|
||||
await this.alwaysShowDockState.update(() => value);
|
||||
|
||||
Reference in New Issue
Block a user