Skip to content

Commit c9176d4

Browse files
committed
Detach info bar
1 parent be66d7c commit c9176d4

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

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

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -226,16 +226,14 @@
226226
AutomationProperties.Name="{helpers:ResourceString Name=CalculateFolderSizes}"
227227
IsOn="{x:Bind ViewModel.CalculateFolderSizes, Mode=TwoWay}"
228228
Style="{StaticResource RightAlignedToggleSwitchStyle}" />
229-
<local:SettingsBlockControl.ExpandableContent>
230-
<InfoBar
231-
CornerRadius="0,0,2,2"
232-
IsClosable="False"
233-
IsIconVisible="True"
234-
IsOpen="True"
235-
Message="{helpers:ResourceString Name=ShowFolderSizesWarning}"
236-
Severity="Warning" />
237-
</local:SettingsBlockControl.ExpandableContent>
238229
</local:SettingsBlockControl>
230+
<InfoBar
231+
CornerRadius="0,0,2,2"
232+
IsClosable="False"
233+
IsIconVisible="True"
234+
IsOpen="True"
235+
Message="{helpers:ResourceString Name=ShowFolderSizesWarning}"
236+
Severity="Warning" />
239237
</StackPanel>
240238
</Grid>
241239
</Page>

0 commit comments

Comments
 (0)