Fix commend bar issues #165

This commit is contained in:
Aleh Khantsevich
2024-04-26 01:47:46 +02:00
parent 75863faf58
commit e92921a6cc
3 changed files with 24 additions and 31 deletions

View File

@@ -462,7 +462,7 @@ namespace Wino.Mail.ViewModels
MenuItems.Clear();
// Add light/dark editor theme switch.
if (_underlyingThemeService.IsUnderlyingThemeDark())
if (IsDarkWebviewRenderer)
MenuItems.Add(MailOperationMenuItem.Create(MailOperation.LightEditor));
else
MenuItems.Add(MailOperationMenuItem.Create(MailOperation.DarkEditor));