clan-app: WebExecutor now mirrors jsonschema api types generically

This commit is contained in:
Qubasa
2024-07-16 16:34:59 +02:00
parent e57ac53506
commit d9fa19ad3b
5 changed files with 78 additions and 55 deletions

View File

@@ -36,7 +36,7 @@ class MainWindow(Adw.ApplicationWindow):
stack_view = ViewStack.use().view
webexec = WebExecutor(plain_api=API, content_uri=config.content_uri)
webexec = WebExecutor(jschema_api=API, content_uri=config.content_uri)
stack_view.add_named(webexec.get_webview(), "webview")
stack_view.set_visible_child_name(config.initial_view)