"ui-settings.json", "ui-state.json": no ui- prefix

This commit is contained in:
miruka 2019-07-24 20:02:31 -04:00
parent 99c3cc7d9f
commit f5aa2c194a

View File

@ -98,7 +98,7 @@ class Accounts(JSONConfigFile):
@dataclass @dataclass
class UISettings(JSONConfigFile): class UISettings(JSONConfigFile):
filename: str = "ui-settings.json" filename: str = "settings.json"
async def default_data(self) -> JsonData: async def default_data(self) -> JsonData:
return { return {
@ -115,7 +115,7 @@ class UISettings(JSONConfigFile):
@dataclass @dataclass
class UIState(JSONConfigFile): class UIState(JSONConfigFile):
filename: str = "ui-state.json" filename: str = "state.json"
@property @property
def path(self) -> Path: def path(self) -> Path: