Skip to content

Commit f57337d

Browse files
committed
Update flet to v0.7.4
1 parent 1ac4e7a commit f57337d

File tree

9 files changed

+808
-536
lines changed

9 files changed

+808
-536
lines changed

openandroidinstaller/openandroidinstaller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def main(page: Page, test: bool = False, test_config: str = "sargo"):
229229
# header
230230
page.appbar = AppBar(
231231
leading=Image(
232-
src="/assets/logo-192x192.png", height=40, width=40, border_radius=40
232+
src="/logo-192x192.png", height=40, width=40, border_radius=40
233233
),
234234
leading_width=56,
235235
toolbar_height=72,

openandroidinstaller/views/addon_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
FilePicker,
3232
FilePickerResultEvent,
3333
)
34-
from flet.buttons import CountinuosRectangleBorder
34+
from flet_core.buttons import CountinuosRectangleBorder
3535

3636
from styles import (
3737
Text,

openandroidinstaller/views/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(self, state: AppState, image: str = "placeholder.png"):
3939
# left part of the display: used for displaying the images
4040
self.left_view = Column(
4141
width=self.column_width,
42-
controls=[Image(src=f"/assets/imgs/{image}", height=600)],
42+
controls=[Image(src=f"/imgs/{image}", height=600)],
4343
expand=True,
4444
horizontal_alignment="center",
4545
)

openandroidinstaller/views/requirements_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
TextButton,
3030
AlertDialog,
3131
)
32-
from flet.buttons import CountinuosRectangleBorder
32+
from flet_core.buttons import CountinuosRectangleBorder
3333

3434
from styles import (
3535
Text,

openandroidinstaller/views/select_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
FilePicker,
3232
FilePickerResultEvent,
3333
)
34-
from flet.buttons import CountinuosRectangleBorder
34+
from flet_core.buttons import CountinuosRectangleBorder
3535

3636
from styles import (
3737
Text,

openandroidinstaller/views/start_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
colors,
3131
icons,
3232
)
33-
from flet.buttons import CountinuosRectangleBorder
33+
from flet_core.buttons import CountinuosRectangleBorder
3434

3535
from styles import (
3636
Text,

poetry.lock

Lines changed: 254 additions & 68 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ include = ["openandroidinstaller/bin/*", "openandroidinstaller/bin/*/*"]
1111
[tool.poetry.dependencies]
1212
python = "<3.11,>=3.9"
1313
click = "^8.1.3"
14-
flet = "^0.3.2"
14+
flet = "^0.7.4"
1515
black = "^22.8.0"
1616
ruff = "^0.0.25"
1717
pyinstaller = "^5.3"

requirements.txt

Lines changed: 547 additions & 461 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)