mirror of
https://github.com/binaris00/Theme-Controller.git
synced 2026-07-22 11:30:25 +00:00
fix to default color theme
This commit is contained in:
parent
09dd632924
commit
0abce483e8
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "bin-theme-controller",
|
||||
"name": "Theme Controller",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Set when and how the themes will be displayed.",
|
||||
"author": "Binaris",
|
||||
|
|
|
|||
|
|
@ -364,7 +364,7 @@ export class ThControlSettingTab extends PluginSettingTab {
|
|||
|
||||
dropDown.addOption("Light", "Light")
|
||||
dropDown.addOption("Dark", "Dark")
|
||||
dropDown.setValue("Dark")
|
||||
dropDown.setValue(this.plugin.settings.defaultColor === true ? "Dark" : "Light")
|
||||
dropDown.onChange(async (value) => {
|
||||
this.plugin.settings.defaultColor = value.toLowerCase() === "dark" ? true : false
|
||||
await this.plugin.saveSettings();
|
||||
|
|
|
|||
Loading…
Reference in a new issue