Rename themes

This commit is contained in:
miruka 2020-03-10 09:48:51 -04:00
parent 7c83041f6c
commit 264c2ab16b
3 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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()