mirror of
https://github.com/bitwarden/browser
synced 2025-12-26 21:23:34 +00:00
* setup extension component * setup extension service * update icon based on theme, adjust padding, service injection * override service * add stories * add current-account component * add ConfigService to storybook * use null checks for boolean data - otherwise false values are ignored * update translations * remove router implementation test * remove imports in main.background.ts * add showLogo to template * update icon usage * fix app-current-account storybook style issue
17 lines
625 B
TypeScript
17 lines
625 B
TypeScript
import { Observable, Subject } from "rxjs";
|
|
|
|
import { AnonLayoutWrapperDataService } from "./anon-layout-wrapper-data.service";
|
|
import { AnonLayoutWrapperData } from "./anon-layout-wrapper.component";
|
|
|
|
export class DefaultAnonLayoutWrapperDataService implements AnonLayoutWrapperDataService {
|
|
protected anonLayoutWrapperDataSubject = new Subject<AnonLayoutWrapperData>();
|
|
|
|
setAnonLayoutWrapperData(data: AnonLayoutWrapperData): void {
|
|
this.anonLayoutWrapperDataSubject.next(data);
|
|
}
|
|
|
|
anonLayoutWrapperData$(): Observable<AnonLayoutWrapperData> {
|
|
return this.anonLayoutWrapperDataSubject.asObservable();
|
|
}
|
|
}
|