forked from mirrors/thatmattlove-hyperglass
fix missing developer_mode property in UI parameters
This commit is contained in:
parent
f6d3dfe1dc
commit
c8f678f766
2 changed files with 2 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ def init_ui_params(*, params: "Params", devices: "Devices") -> "UIParameters":
|
||||||
**_ui_params,
|
**_ui_params,
|
||||||
version=__version__,
|
version=__version__,
|
||||||
devices=devices.frontend(),
|
devices=devices.frontend(),
|
||||||
|
developer_mode=Settings.dev_mode,
|
||||||
parsed_data_fields=PARSED_RESPONSE_FIELDS,
|
parsed_data_fields=PARSED_RESPONSE_FIELDS,
|
||||||
content={"credit": content_credit, "greeting": content_greeting},
|
content={"credit": content_credit, "greeting": content_greeting},
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -72,3 +72,4 @@ class UIParameters(ParamsPublic, HyperglassModel):
|
||||||
devices: List[UIDevices] = []
|
devices: List[UIDevices] = []
|
||||||
parsed_data_fields: Tuple[StructuredDataField, ...]
|
parsed_data_fields: Tuple[StructuredDataField, ...]
|
||||||
content: UIContent
|
content: UIContent
|
||||||
|
developer_mode: StrictBool
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue