mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 19:55:00 +00:00
feature<Avatar>: supports gravatar.com and cravatar.cn (for China)
This commit is contained in:
parent
84e2c7b3a4
commit
49f6ad0407
6 changed files with 74 additions and 45 deletions
|
@ -51,6 +51,16 @@ namespace SourceGit.ViewModels {
|
|||
}
|
||||
}
|
||||
|
||||
public string AvatarServer {
|
||||
get => Models.AvatarManager.SelectedServer;
|
||||
set {
|
||||
if (Models.AvatarManager.SelectedServer != value) {
|
||||
Models.AvatarManager.SelectedServer = value;
|
||||
OnPropertyChanged(nameof(AvatarServer));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int MaxHistoryCommits {
|
||||
get => _maxHistoryCommits;
|
||||
set => SetProperty(ref _maxHistoryCommits, value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue