Skip to content
This repository was archived by the owner on Dec 25, 2025. It is now read-only.

Commit a8e1ebe

Browse files
authored
Update main.py
replaced "flet.WEB_BROWSER" with "flet.AppView.WEB_BROWSER" now the example works properly.
1 parent 7aa1942 commit a8e1ebe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • python/apps/custom-loading-image

python/apps/custom-loading-image/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ def main(page: Page):
66
page.add(Text("Hello, world!"))
77

88

9-
flet.app(target=main, assets_dir="assets", view=flet.WEB_BROWSER)
9+
flet.app(target=main, assets_dir="assets", view=flet.AppView.WEB_BROWSER)

0 commit comments

Comments
 (0)