@abp/ng.theme.shared 5.1.2 → 5.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1241,9 +1241,7 @@ class DocumentDirHandlerService {
1241
1241
  listenToLanguageChanges() {
1242
1242
  const l10n = this.injector.get(LocalizationService);
1243
1243
  // will always listen, no need to unsubscribe
1244
- l10n.languageChange$
1245
- .pipe(startWith(l10n.currentLang), map(locale => getLocaleDirection(locale)))
1246
- .subscribe(dir => {
1244
+ l10n.currentLang$.pipe(map(locale => getLocaleDirection(locale))).subscribe(dir => {
1247
1245
  this.dir.next(dir);
1248
1246
  this.setBodyDir(dir);
1249
1247
  });