ux: change default view mode in FileHistories to CHANGES

This commit is contained in:
leo 2024-08-25 11:20:10 +08:00
parent 118dccbeb5
commit e9eb433471
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -93,9 +93,9 @@ namespace SourceGit.ViewModels
}
if (_viewMode == 0)
SetViewContentAsRevisionFile();
else
SetViewContentAsDiff();
else
SetViewContentAsRevisionFile();
}
private void SetViewContentAsRevisionFile()

View file

@ -171,13 +171,13 @@
<ListBoxItem>
<Border Classes="switcher_bg">
<TextBlock Classes="view_mode_switcher" Text="{DynamicResource Text.FileHistory.FileContent}"/>
<TextBlock Classes="view_mode_switcher" Text="{DynamicResource Text.FileHistory.FileChange}"/>
</Border>
</ListBoxItem>
<ListBoxItem>
<Border Classes="switcher_bg">
<TextBlock Classes="view_mode_switcher" Text="{DynamicResource Text.FileHistory.FileChange}"/>
<TextBlock Classes="view_mode_switcher" Text="{DynamicResource Text.FileHistory.FileContent}"/>
</Border>
</ListBoxItem>
</ListBox>