mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
refactor: hide epg settings in pwa version
This commit is contained in:
1 parent
bf8664bec5
commit
239022216c
2 files changed
+5
-1
No files matched your search
@@ -11,7 +11,7 @@
|
||||
</mat-card-header>
|
||||
<mat-card-content>
|
||||
<mat-list>
|
||||
<mat-list-item>
|
||||
<mat-list-item *ngIf="isElectron">
|
||||
<div matLine fxLayout="row">
|
||||
<p fxFlex>{{ 'SETTINGS.EPG_URL_LABEL' | translate }}</p>
|
||||
<p fxFlex fxLayoutAlign="start center">
|
||||
@@ -138,6 +138,7 @@
|
||||
</p>
|
||||
</div>
|
||||
</mat-list-item>
|
||||
<mat-list-item *ngIf="!isElectron">EPG is available in electron-based version of IPTVnator. Check it <a href="https://github.com/4gray/iptvnator/releases">here</a></mat-list-item>
|
||||
</mat-list>
|
||||
</mat-card-content>
|
||||
<mat-card-actions>
|
||||
|
||||
@@ -56,6 +56,9 @@ export class SettingsComponent implements OnInit {
|
||||
(store) => store.epgAvailable
|
||||
);
|
||||
|
||||
/** Flag that indicates whether the app runs in electron environment */
|
||||
isElectron = this.electronService.isElectron;
|
||||
|
||||
/** All available visual themes */
|
||||
themeEnum = Theme;
|
||||
|
||||
|
||||
Reference in new issue
Block a user