Skip to content

Commit

Permalink
Update flet to v0.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
tsterbak committed Jun 28, 2023
1 parent 1ac4e7a commit f57337d
Show file tree
Hide file tree
Showing 9 changed files with 808 additions and 536 deletions.
2 changes: 1 addition & 1 deletion openandroidinstaller/openandroidinstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def main(page: Page, test: bool = False, test_config: str = "sargo"):
# header
page.appbar = AppBar(
leading=Image(
src="/assets/logo-192x192.png", height=40, width=40, border_radius=40
src="/logo-192x192.png", height=40, width=40, border_radius=40
),
leading_width=56,
toolbar_height=72,
Expand Down
2 changes: 1 addition & 1 deletion openandroidinstaller/views/addon_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
FilePicker,
FilePickerResultEvent,
)
from flet.buttons import CountinuosRectangleBorder
from flet_core.buttons import CountinuosRectangleBorder

from styles import (
Text,
Expand Down
2 changes: 1 addition & 1 deletion openandroidinstaller/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self, state: AppState, image: str = "placeholder.png"):
# left part of the display: used for displaying the images
self.left_view = Column(
width=self.column_width,
controls=[Image(src=f"/assets/imgs/{image}", height=600)],
controls=[Image(src=f"/imgs/{image}", height=600)],
expand=True,
horizontal_alignment="center",
)
Expand Down
2 changes: 1 addition & 1 deletion openandroidinstaller/views/requirements_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
TextButton,
AlertDialog,
)
from flet.buttons import CountinuosRectangleBorder
from flet_core.buttons import CountinuosRectangleBorder

from styles import (
Text,
Expand Down
2 changes: 1 addition & 1 deletion openandroidinstaller/views/select_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
FilePicker,
FilePickerResultEvent,
)
from flet.buttons import CountinuosRectangleBorder
from flet_core.buttons import CountinuosRectangleBorder

from styles import (
Text,
Expand Down
2 changes: 1 addition & 1 deletion openandroidinstaller/views/start_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
colors,
icons,
)
from flet.buttons import CountinuosRectangleBorder
from flet_core.buttons import CountinuosRectangleBorder

from styles import (
Text,
Expand Down
322 changes: 254 additions & 68 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include = ["openandroidinstaller/bin/*", "openandroidinstaller/bin/*/*"]
[tool.poetry.dependencies]
python = "<3.11,>=3.9"
click = "^8.1.3"
flet = "^0.3.2"
flet = "^0.7.4"
black = "^22.8.0"
ruff = "^0.0.25"
pyinstaller = "^5.3"
Expand Down
1,008 changes: 547 additions & 461 deletions requirements.txt

Large diffs are not rendered by default.

0 comments on commit f57337d

Please sign in to comment.