mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
optimize<Preference>: remove avater server
This commit is contained in:
parent
0b8c23c02d
commit
d827c1fbe1
4 changed files with 7 additions and 49 deletions
|
@ -1,22 +0,0 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace SourceGit.Models {
|
||||
|
||||
/// <summary>
|
||||
/// 支持的头像服务器
|
||||
/// </summary>
|
||||
public class AvatarServer {
|
||||
public string Name { get; set; }
|
||||
public string Url { get; set; }
|
||||
|
||||
public static List<AvatarServer> Supported = new List<AvatarServer>() {
|
||||
new AvatarServer("Gravatar", "https://www.gravatar.com/avatar/"),
|
||||
new AvatarServer("Gravatar - 极客族", "https://sdn.geekzu.org/avatar/"),
|
||||
};
|
||||
|
||||
public AvatarServer(string name, string url) {
|
||||
Name = name;
|
||||
Url = url;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -58,11 +58,6 @@ namespace SourceGit.Models {
|
|||
set => FontFamilyContentSetting = value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 头像服务器
|
||||
/// </summary>
|
||||
public string AvatarServer { get; set; } = "https://www.gravatar.com/avatar/";
|
||||
|
||||
/// <summary>
|
||||
/// 是否启用深色主题
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue