diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 96f37fdcf..e7ca7e28f 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -8,6 +8,7 @@ import { ChannelStore } from './state'; import { StorageMap } from '@ngx-pwa/local-storage'; import { Settings } from './settings/settings.interface'; import { EPG_ERROR, EPG_FETCH, EPG_FETCH_DONE } from '../../ipc-commands'; +import { SettingsService } from './services/settings.service'; // create custom title bar new Titlebar({ @@ -28,6 +29,7 @@ export class AppComponent { private ngZone: NgZone, private router: Router, private translate: TranslateService, + private settingsService: SettingsService, private snackBar: MatSnackBar, private storage: StorageMap ) { @@ -115,6 +117,10 @@ export class AppComponent { horizontalPosition: 'right', }); } + + if (settings.theme) { + this.settingsService.changeTheme(settings.theme); + } } }); diff --git a/src/app/home/home.component.scss b/src/app/home/home.component.scss index be72b2070..f7719d9a8 100644 --- a/src/app/home/home.component.scss +++ b/src/app/home/home.component.scss @@ -3,11 +3,7 @@ text-transform: uppercase; } - .mat-tab-group.mat-background-primary .mat-tab-header { - background: #000 !important; - } - .mat-tab-group.mat-background-primary .mat-tab-header-pagination { - display:none; + display: none; } -} \ No newline at end of file +} diff --git a/src/app/home/recent-playlists/playlist-info/playlist-info.component.html b/src/app/home/recent-playlists/playlist-info/playlist-info.component.html index e777ffc7e..67cb6686d 100644 --- a/src/app/home/recent-playlists/playlist-info/playlist-info.component.html +++ b/src/app/home/recent-playlists/playlist-info/playlist-info.component.html @@ -28,7 +28,7 @@ - diff --git a/src/app/home/recent-playlists/recent-playlists.component.html b/src/app/home/recent-playlists/recent-playlists.component.html index 0965db4bd..35a459f15 100644 --- a/src/app/home/recent-playlists/recent-playlists.component.html +++ b/src/app/home/recent-playlists/recent-playlists.component.html @@ -35,7 +35,7 @@