combine projects into one
This commit is contained in:
@@ -18,16 +18,14 @@ namespace Gallery
|
||||
public static Dictionary<string, System.DateTime> RefreshTimes { get; } = new();
|
||||
public static List<IGallerySource> GallerySources { get; } = new()
|
||||
{
|
||||
new Yandere.GallerySource(), // https://yande.re
|
||||
new Danbooru.GallerySource(), // https://danbooru.donmai.us
|
||||
new Gelbooru.GallerySource() // https://gelbooru.com
|
||||
new Sources.Yandere.GallerySource(), // https://yande.re
|
||||
new Sources.Danbooru.GallerySource(), // https://danbooru.donmai.us
|
||||
new Sources.Gelbooru.GallerySource() // https://gelbooru.com
|
||||
};
|
||||
|
||||
public App()
|
||||
{
|
||||
Preferences.Set(Config.IsProxiedKey, true);
|
||||
Preferences.Set(Config.ProxyHostKey, "192.168.25.9");
|
||||
Preferences.Set(Config.ProxyPortKey, 1081);
|
||||
//Device.SetFlags(new string[0]);
|
||||
}
|
||||
|
||||
private void InitResource()
|
||||
@@ -44,6 +42,7 @@ namespace Gallery
|
||||
private void InitPreference()
|
||||
{
|
||||
Config.Proxy = null;
|
||||
Config.DownloadThreads = Preferences.Get(Config.DownloadThreadsKey, 1);
|
||||
|
||||
var isProxied = Preferences.Get(Config.IsProxiedKey, false);
|
||||
if (isProxied)
|
||||
|
Reference in New Issue
Block a user