adjust UI
This commit is contained in:
@@ -6,6 +6,7 @@ using Gallery.Util;
|
||||
using Gallery.Resources.Theme;
|
||||
using System.Collections.Generic;
|
||||
using Gallery.Util.Interface;
|
||||
using Gallery.Resources.UI;
|
||||
|
||||
namespace Gallery
|
||||
{
|
||||
@@ -26,12 +27,15 @@ namespace Gallery
|
||||
Preferences.Set(Config.IsProxiedKey, true);
|
||||
Preferences.Set(Config.ProxyHostKey, "192.168.25.9");
|
||||
Preferences.Set(Config.ProxyPortKey, 1081);
|
||||
|
||||
DependencyService.Register<MockDataStore>();
|
||||
}
|
||||
|
||||
private void InitResource()
|
||||
{
|
||||
foreach (var source in GallerySources)
|
||||
{
|
||||
source.InitDynamicResources(Definition.IconSolidFamily, LightTheme.Instance, DarkTheme.Instance);
|
||||
}
|
||||
|
||||
var theme = AppInfo.RequestedTheme;
|
||||
SetTheme(theme, true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user