Added SeparatorItemViewModel data template
MODIFY
WalletWasabi.Fluent/Views/NavBar/NavBar.axaml
WalletWasabi.Fluent/Views/NavBar/NavBar.axaml
</Style>
</c:NavBarTreeView.Styles>
<c:NavBarTreeView.ItemTemplate>
- <TreeDataTemplate ItemsSource="{Binding Items}" x:CompileBindings="False">
+ </c:NavBarTreeView.ItemTemplate>
+ <c:NavBarTreeView.DataTemplates>
+ <TreeDataTemplate x:DataType="vm:NavBarItemViewModel" ItemsSource="{Binding Items}" x:CompileBindings="False">
<Panel>
<Panel Width="45" HorizontalAlignment="Left">
<PathIcon HorizontalAlignment="Left">
<TextBlock Text="{Binding Title}" Margin="55 0 0 0" />
</Panel>
</TreeDataTemplate>
- </c:NavBarTreeView.ItemTemplate>
+ <DataTemplate x:DataType="vm:SeparatorItemViewModel" x:CompileBindings="False">
+ <Separator IsHitTestVisible="False"/>
+ </DataTemplate>
+ </c:NavBarTreeView.DataTemplates>
</c:NavBarTreeView>
</DockPanel>
</UserControl>
\ No newline at end of file

Added SeparatorItemViewModel data template