浏览代码

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;