We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3630663 + e026a42 commit f179827Copy full SHA for f179827
src/app/shared/services/state.service.ts
@@ -98,12 +98,14 @@ export class StateService {
98
if (!state.cookiesAccepted) {
99
this.storageService.clear();
100
this.storageService.set('st-cookies-accepted', state.cookiesAccepted);
101
+ this.stateSubject.next(state);
102
return ;
103
}
104
105
106
this.storageService.set('st-dark-mode-enabled', state.darkModeEnabled);
107
this.storageService.set('st-enable-tracking', state.enableTracking);
108
+
109
this.stateSubject.next(state);
110
111
0 commit comments