فهرست منبع

Fixed not showing correct gallery translation, if it is closed or not.

Ruben 7 ماه پیش
والد
کامیت
7732d8f820
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/PicView.Avalonia/SettingsManagement/LanguageUpdater.cs

+ 1 - 1
src/PicView.Avalonia/SettingsManagement/LanguageUpdater.cs

@@ -25,7 +25,7 @@ public static class LanguageUpdater
         vm.GetIsScrollingTranslation = Settings.Zoom.ScrollEnabled ?
             TranslationHelper.Translation.ScrollingEnabled : TranslationHelper.Translation.ScrollingDisabled;
         
-        vm.GetIsShowingBottomGalleryTranslation = vm.IsGalleryShown ?
+        vm.GetIsShowingBottomGalleryTranslation = Settings.Gallery.IsBottomGalleryShown ?
             TranslationHelper.Translation.HideBottomGallery :
             TranslationHelper.Translation.ShowBottomGallery;