Remove unused code

This commit is contained in:
Hugh Nimmo-Smith 2024-11-13 10:16:38 +00:00
parent 44935eeb40
commit b3e725fcac

View File

@ -40,11 +40,9 @@ export class Setting<T> {
private readonly _value: BehaviorSubject<T>;
public readonly value: Observable<T>;
public readonly setValue = (value: T, persist = true): void => {
public readonly setValue = (value: T): void => {
this._value.next(value);
if (persist) {
localStorage.setItem(this.key, JSON.stringify(value));
}
};
}