From fe4962e44537d8175724e089130d819b12313ac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=88=B0=E9=98=9F=E7=9A=84=E5=81=B6=E5=83=8F-=E5=B2=9B?= =?UTF-8?q?=E9=A3=8E=E9=85=B1=EF=BC=81?= Date: Mon, 20 Apr 2020 20:40:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8D=95=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PixivFSUWP/SettingsPage.xaml | 1 + PixivFSUWP/SettingsPage.xaml.cs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/PixivFSUWP/SettingsPage.xaml b/PixivFSUWP/SettingsPage.xaml index 7b5171b..5abfbb2 100644 --- a/PixivFSUWP/SettingsPage.xaml +++ b/PixivFSUWP/SettingsPage.xaml @@ -79,6 +79,7 @@ + diff --git a/PixivFSUWP/SettingsPage.xaml.cs b/PixivFSUWP/SettingsPage.xaml.cs index 30eb0c9..d38f1c7 100644 --- a/PixivFSUWP/SettingsPage.xaml.cs +++ b/PixivFSUWP/SettingsPage.xaml.cs @@ -97,6 +97,7 @@ async Task loadContentsAsync() //ApplicationDataContainer localSettings = ApplicationData.Current.LocalSettings; //tbSauceNAO.Text = localSettings.Values["SauceNAOAPI"] as string;//读取设置项 //tbImgur.Text = localSettings.Values["ImgurAPI"] as string; + // 获取储存的颜色主题信息 switch (ApplicationData.Current.LocalSettings.Values["ColorTheme"]) { case false: @@ -201,6 +202,7 @@ private void ComboBox_DropDownClosed(object sender, object e) { if(sender is ComboBox cb) { + // 保存颜色主题信息 switch (cb.SelectedIndex) { case 2: