Skip to content

Commit

Permalink
Fix web_renderer arg
Browse files Browse the repository at this point in the history
  • Loading branch information
FeodorFitsner committed Jun 23, 2022
1 parent ac39008 commit 5abe464
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/python/flet/flet.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def page(
permissions=None,
view: AppViewer = WEB_BROWSER,
assets_dir=None,
web_renderer='canvaskit',
web_renderer="canvaskit",
):
conn = _connect_internal(
page_name=name,
Expand All @@ -71,7 +71,7 @@ def app(
permissions=None,
view: AppViewer = FLET_APP,
assets_dir=None,
web_renderer=None,
web_renderer="canvaskit",
):

if target == None:
Expand All @@ -84,7 +84,7 @@ def app(
permissions=permissions,
session_handler=target,
assets_dir=assets_dir,
web_renderer='canvaskit',
web_renderer=web_renderer,
)
print("App URL:", conn.page_url)

Expand Down

0 comments on commit 5abe464

Please sign in to comment.