style(widgets): apply formatter to widget rebind files
This commit is contained in:
@@ -1404,10 +1404,7 @@ class SettingsStore:
|
||||
) -> dict[str, Any]:
|
||||
current = self.get_widget(widget_id) if widget_id else None
|
||||
widget_id = str(payload.get("id") or widget_id or uuid.uuid4().hex[:12]).strip() or uuid.uuid4().hex[:12]
|
||||
service_id = (
|
||||
str(payload.get("service_id") or (current or {}).get("service_id") or "").strip()
|
||||
or None
|
||||
)
|
||||
service_id = str(payload.get("service_id") or (current or {}).get("service_id") or "").strip() or None
|
||||
widget_kind = str(payload.get("widget_kind") or (current or {}).get("widget_kind", "")).strip()
|
||||
title = str(payload.get("title") or (current or {}).get("title", "") or "").strip()
|
||||
config = payload.get("config", (current or {}).get("config", {}))
|
||||
|
||||
Reference in New Issue
Block a user