ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix theme update when logged in
Chocobozzz4b57ebdfe69e
diff --git a/client/src/app/+my-account/my-account-settings/my-account-settings.component.html b/client/src/app/+my-account/my-account-settings/my-account-settings.component.htmlindex 48d06280b5..8ca197fd48 100644--- a/client/src/app/+my-account/my-account-settings/my-account-settings.component.html+++ b/client/src/app/+my-account/my-account-settings/my-account-settings.component.html@@ -20,6 +20,16 @@</div></div>+<div class="form-row mt-5"> <!-- interface grid -->+ <div class="form-group col-12 col-lg-4 col-xl-3">+ <h2 i18n class="account-title">INTERFACE</h2>+ </div>++ <div class="form-group col-12 col-lg-8 col-xl-9">+ <my-user-interface-settings [user]="user" [userInformationLoaded]="userInformationLoaded"></my-user-interface-settings>+ </div>+</div>+<div class="form-row mt-5"> <!-- video settings grid --><div class="form-group col-12 col-lg-4 col-xl-3"><div class="anchor" id="video-settings"></div> <!-- video settings anchor -->@@ -42,16 +52,6 @@</div></div>-<div class="form-row mt-5"> <!-- interface grid -->- <div class="form-group col-12 col-lg-4 col-xl-3">- <h2 i18n class="account-title">INTERFACE</h2>- </div>-- <div class="form-group col-12 col-lg-8 col-xl-9">- <my-user-interface-settings [user]="user" [userInformationLoaded]="userInformationLoaded"></my-user-interface-settings>- </div>-</div>-<div class="form-row mt-5" *ngIf="user.pluginAuth === null"> <!-- password grid --><div class="form-group col-12 col-lg-4 col-xl-3"><h2 i18n class="account-title">PASSWORD</h2>diff --git a/client/src/app/core/theme/theme.service.ts b/client/src/app/core/theme/theme.service.tsindex c9e6fa7005..ac34689419 100644--- a/client/src/app/core/theme/theme.service.ts+++ b/client/src/app/core/theme/theme.service.ts@@ -141,7 +141,6 @@ export class ThemeService {}this.auth.userInformationLoaded- .pipe(first()).subscribe(() => this.updateCurrentTheme())}diff --git a/client/src/app/shared/shared-user-settings/user-interface-settings.component.ts b/client/src/app/shared/shared-user-settings/user-interface-settings.component.tsindex bd1cb0353b..d04a2c3488 100644--- a/client/src/app/shared/shared-user-settings/user-interface-settings.component.ts+++ b/client/src/app/shared/shared-user-settings/user-interface-settings.component.ts@@ -48,7 +48,7 @@ export class UserInterfaceSettingsComponent extends FormReactive implements OnIn})if (this.reactiveUpdate) {- this.formValuesWatcher = this.form.valueChanges.subscribe(val => this.updateInterfaceSettings())+ this.formValuesWatcher = this.form.valueChanges.subscribe(() => this.updateInterfaceSettings())}})}