You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
394 B
20 lines
394 B
import { Injectable } from '@angular/core';
|
|
import { LocalStorage } from 'ngx-webstorage';
|
|
|
|
import { Language } from '../enums/language.enum';
|
|
import { Theme } from '../enums/theme.enum';
|
|
|
|
@Injectable({
|
|
providedIn: 'root',
|
|
})
|
|
export class StorageService {
|
|
@LocalStorage()
|
|
public theme: Theme;
|
|
|
|
@LocalStorage()
|
|
public language: Language;
|
|
|
|
@LocalStorage()
|
|
public userPollsIds: string[];
|
|
}
|