Skip to content

Commit c9b2818

Browse files
committed
Code Quality: Disable Omnibar switch outside of dev env
1 parent 25309d8 commit c9b2818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Views/Settings/AdvancedPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
</wctcontrols:SettingsCard>
171171

172172
<!-- Omnibar -->
173-
<wctcontrols:SettingsCard Header="{helpers:ResourceString Name=EnableOmnibar}">
173+
<wctcontrols:SettingsCard Header="{helpers:ResourceString Name=EnableOmnibar}" IsEnabled="{x:Bind ViewModel.IsAppEnvironmentDev, Mode=OneWay}">
174174
<wctcontrols:SettingsCard.HeaderIcon>
175175
<FontIcon Glyph="&#xECAD;" />
176176
</wctcontrols:SettingsCard.HeaderIcon>

0 commit comments

Comments
 (0)