Skip to content

Commit e9f83b5

Browse files
committed
Add info bar when adaptive layout is disabled
1 parent e9199bd commit e9f83b5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/Files.App/Strings/en-US/Resources.resw

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4042,4 +4042,7 @@
40424042
<value>Add to shelf</value>
40434043
<comment>Tooltip that displays when dragging items to the Shelf Pane</comment>
40444044
</data>
4045+
<data name="ConciseAdaptiveLayoutDisabledNotification" xml:space="preserve">
4046+
<value>Sync layout across directories must be disabled.</value>
4047+
</data>
40454048
</root>

src/Files.App/UserControls/InnerNavigationToolbar.xaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,6 +1182,11 @@
11821182

11831183
</Grid>
11841184

1185+
<InfoBar
1186+
IsClosable="False"
1187+
IsOpen="{x:Bind Commands.LayoutAdaptive.IsExecutable.Equals(x:False), Mode=OneWay}"
1188+
Message="{helpers:ResourceString Name=ConciseAdaptiveLayoutDisabledNotification}"
1189+
Severity="Informational" />
11851190
</StackPanel>
11861191
</Flyout>
11871192
</AppBarButton.Flyout>

0 commit comments

Comments
 (0)