Skip to content

Commit 8a12da6

Browse files
committed
Move archive navigation into navigation section
1 parent 683d4b8 commit 8a12da6

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

src/PicView.Avalonia/Views/Main/MainView.axaml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -669,38 +669,38 @@
669669
Width="14" />
670670
</MenuItem.Icon>
671671
</MenuItem>
672-
</MenuItem>
673672

674-
<Separator />
673+
<Separator />
675674

676-
<!-- Next archive -->
677-
<MenuItem
678-
Command="{CompiledBinding Navigation.NextArchiveCommand}"
679-
Header="{CompiledBinding Translation.NextArchive.Value,
680-
Mode=OneWay}"
681-
IsEnabled="{CompiledBinding PicViewer.FileInfo.Value,
682-
Converter={x:Static ObjectConverters.IsNotNull}}">
683-
<MenuItem.Icon>
684-
<Image
685-
Height="14"
686-
Source="{StaticResource ArchiveFile}"
687-
Width="14" />
688-
</MenuItem.Icon>
689-
</MenuItem>
675+
<!-- Next archive -->
676+
<MenuItem
677+
Command="{CompiledBinding Navigation.NextArchiveCommand}"
678+
Header="{CompiledBinding Translation.NextArchive.Value,
679+
Mode=OneWay}"
680+
IsEnabled="{CompiledBinding PicViewer.FileInfo.Value,
681+
Converter={x:Static ObjectConverters.IsNotNull}}">
682+
<MenuItem.Icon>
683+
<Image
684+
Height="14"
685+
Source="{StaticResource ArchiveFile}"
686+
Width="14" />
687+
</MenuItem.Icon>
688+
</MenuItem>
690689

691-
<!-- Prev archive -->
692-
<MenuItem
693-
Command="{CompiledBinding Navigation.PreviousArchiveCommand}"
694-
Header="{CompiledBinding Translation.PrevArchive.Value,
695-
Mode=OneWay}"
696-
IsEnabled="{CompiledBinding PicViewer.FileInfo.Value,
697-
Converter={x:Static ObjectConverters.IsNotNull}}">
698-
<MenuItem.Icon>
699-
<Image
700-
Height="14"
701-
Source="{StaticResource ArchiveFile}"
702-
Width="14" />
703-
</MenuItem.Icon>
690+
<!-- Prev archive -->
691+
<MenuItem
692+
Command="{CompiledBinding Navigation.PreviousArchiveCommand}"
693+
Header="{CompiledBinding Translation.PrevArchive.Value,
694+
Mode=OneWay}"
695+
IsEnabled="{CompiledBinding PicViewer.FileInfo.Value,
696+
Converter={x:Static ObjectConverters.IsNotNull}}">
697+
<MenuItem.Icon>
698+
<Image
699+
Height="14"
700+
Source="{StaticResource ArchiveFile}"
701+
Width="14" />
702+
</MenuItem.Icon>
703+
</MenuItem>
704704
</MenuItem>
705705

706706
<Separator />

0 commit comments

Comments
 (0)