Rename themes
This commit is contained in:
parent
7c83041f6c
commit
264c2ab16b
|
@ -251,6 +251,7 @@ class Backend:
|
|||
ui_state = await self.ui_state.read()
|
||||
history = await self.history.read()
|
||||
theme = await Theme(self, settings["theme"]).read()
|
||||
print(theme)
|
||||
|
||||
return (settings, ui_state, history, theme)
|
||||
|
||||
|
|
|
@ -193,7 +193,7 @@ class UISettings(JSONDataFile):
|
|||
"alertOnMessageForMsec": 4000,
|
||||
"clearRoomFilterOnEnter": True,
|
||||
"clearRoomFilterOnEscape": True,
|
||||
"theme": "Default.qpl",
|
||||
"theme": "Midnight.qpl",
|
||||
"writeAliases": {},
|
||||
"media": {
|
||||
"autoLoad": True,
|
||||
|
@ -284,7 +284,7 @@ class Theme(DataFile):
|
|||
|
||||
|
||||
async def default_data(self) -> str:
|
||||
async with aiofiles.open("src/themes/Default.qpl") as file:
|
||||
async with aiofiles.open("src/themes/Midnight.qpl") as file:
|
||||
return await file.read()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user