Sfoglia il codice sorgente

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

Ruben 7 mesi fa
parent
commit
7732d8f820

+ 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;