Skip to content

Commit c73c9cc

Browse files
authored
Fix: Fixed issue where search unindexed items wasn't clickable (#12245)
1 parent 7038909 commit c73c9cc

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/Files.App/Views/LayoutModes/DetailsLayoutBrowser.xaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -182,21 +182,6 @@
182182
Canvas.ZIndex="0"
183183
EmptyTextType="{x:Bind ParentShellPageInstance.FilesystemViewModel.EmptyTextType, Mode=OneWay}" />
184184

185-
<!-- Search Unindexed Items -->
186-
<StackPanel
187-
x:Name="SearchUnindexedItemsPanel"
188-
HorizontalAlignment="Center"
189-
VerticalAlignment="Bottom"
190-
x:Load="{x:Bind InstanceViewModel.ShowSearchUnindexedItemsMessage, Mode=OneWay}"
191-
Orientation="Vertical">
192-
<TextBlock Text="{helpers:ResourceString Name=SearchUnindexedItemsLabel/Text}" />
193-
<HyperlinkButton
194-
x:Name="SearchUnindexedItemsButton"
195-
HorizontalAlignment="Center"
196-
Command="{x:Bind CommandsViewModel.SearchUnindexedItems}"
197-
Content="{helpers:ResourceString Name=SearchUnindexedItemsButton/Content}" />
198-
</StackPanel>
199-
200185
<!-- Invalid Item Name Tip -->
201186
<TeachingTip
202187
x:Name="FileNameTeachingTip"
@@ -1044,6 +1029,21 @@
10441029

10451030
</SemanticZoom>
10461031

1032+
<!-- Search Unindexed Items -->
1033+
<StackPanel
1034+
x:Name="SearchUnindexedItemsPanel"
1035+
HorizontalAlignment="Center"
1036+
VerticalAlignment="Bottom"
1037+
x:Load="{x:Bind InstanceViewModel.ShowSearchUnindexedItemsMessage, Mode=OneWay}"
1038+
Orientation="Vertical">
1039+
<TextBlock Text="{helpers:ResourceString Name=SearchUnindexedItemsLabel/Text}" />
1040+
<HyperlinkButton
1041+
x:Name="SearchUnindexedItemsButton"
1042+
HorizontalAlignment="Center"
1043+
Command="{x:Bind CommandsViewModel.SearchUnindexedItems}"
1044+
Content="{helpers:ResourceString Name=SearchUnindexedItemsButton/Content}" />
1045+
</StackPanel>
1046+
10471047
<!-- Selector -->
10481048
<Canvas HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
10491049
<Rectangle

0 commit comments

Comments
 (0)