Remove "new" label from ZoomIt (#37417)

remove new from zoomit
This commit is contained in:
Kayla Cinnamon
2025-02-20 06:29:14 -05:00
committed by GitHub
parent fa4471a9e6
commit 17f3c12a11
2 changed files with 1 additions and 9 deletions

View File

@@ -110,9 +110,6 @@
x:Uid="Shell_TopLevelSystemTools" x:Uid="Shell_TopLevelSystemTools"
Icon="{ui:BitmapIcon Source=/Assets/Settings/Icons/SystemTools.png}" Icon="{ui:BitmapIcon Source=/Assets/Settings/Icons/SystemTools.png}"
SelectsOnInvoked="False"> SelectsOnInvoked="False">
<NavigationViewItem.InfoBadge>
<InfoBadge Style="{StaticResource NewInfoBadge}" />
</NavigationViewItem.InfoBadge>
<NavigationViewItem.MenuItems> <NavigationViewItem.MenuItems>
<NavigationViewItem <NavigationViewItem
x:Uid="Shell_AdvancedPaste" x:Uid="Shell_AdvancedPaste"
@@ -145,11 +142,7 @@
<NavigationViewItem <NavigationViewItem
x:Uid="Shell_ZoomIt" x:Uid="Shell_ZoomIt"
helpers:NavHelper.NavigateTo="views:ZoomItPage" helpers:NavHelper.NavigateTo="views:ZoomItPage"
Icon="{ui:BitmapIcon Source=/Assets/Settings/Icons/ZoomIt.png}"> Icon="{ui:BitmapIcon Source=/Assets/Settings/Icons/ZoomIt.png}" />
<NavigationViewItem.InfoBadge>
<InfoBadge Style="{StaticResource NewInfoBadge}" />
</NavigationViewItem.InfoBadge>
</NavigationViewItem>
</NavigationViewItem.MenuItems> </NavigationViewItem.MenuItems>
</NavigationViewItem> </NavigationViewItem>

View File

@@ -74,7 +74,6 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
{ {
Tag = moduleType, Tag = moduleType,
Label = resourceLoader.GetString(ModuleHelper.GetModuleLabelResourceName(moduleType)), Label = resourceLoader.GetString(ModuleHelper.GetModuleLabelResourceName(moduleType)),
IsNew = moduleType == ModuleType.ZoomIt,
IsEnabled = gpo == GpoRuleConfigured.Enabled || (gpo != GpoRuleConfigured.Disabled && ModuleHelper.GetIsModuleEnabled(generalSettingsConfig, moduleType)), IsEnabled = gpo == GpoRuleConfigured.Enabled || (gpo != GpoRuleConfigured.Disabled && ModuleHelper.GetIsModuleEnabled(generalSettingsConfig, moduleType)),
IsLocked = gpo == GpoRuleConfigured.Enabled || gpo == GpoRuleConfigured.Disabled, IsLocked = gpo == GpoRuleConfigured.Enabled || gpo == GpoRuleConfigured.Disabled,
Icon = ModuleHelper.GetModuleTypeFluentIconName(moduleType), Icon = ModuleHelper.GetModuleTypeFluentIconName(moduleType),