mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-21 21:30:37 +08:00
ux: change default view mode in FileHistories to CHANGES
This commit is contained in:
@@ -93,9 +93,9 @@ namespace SourceGit.ViewModels
|
||||
}
|
||||
|
||||
if (_viewMode == 0)
|
||||
SetViewContentAsRevisionFile();
|
||||
else
|
||||
SetViewContentAsDiff();
|
||||
else
|
||||
SetViewContentAsRevisionFile();
|
||||
}
|
||||
|
||||
private void SetViewContentAsRevisionFile()
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user