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: