Skip to content

Commit 8cd9740

Browse files
committed
Use the actual source of data template
1 parent a21d6c7 commit 8cd9740

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Files.App.Controls/Omnibar/Omnibar.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@
7373
<ThemeShadow />
7474
</Border.Shadow>
7575

76-
<ListView HorizontalAlignment="Stretch" IsItemClickEnabled="True">
77-
<ListViewItem Content="1" />
78-
<ListViewItem Content="1" />
79-
</ListView>
76+
<ListView
77+
HorizontalAlignment="Stretch"
78+
IsItemClickEnabled="True"
79+
ItemTemplate="{Binding CurrentActiveMode.SuggestionItemTemplate, RelativeSource={RelativeSource TemplatedParent}, Mode=OneWay}" />
8080

8181
</Border>
8282
</Popup>

0 commit comments

Comments
 (0)