Skip to content

Commit 61aae61

Browse files
committed
Popup enabled again
1 parent bb11376 commit 61aae61

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

openandroidinstaller/openandroidinstaller.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -684,15 +684,14 @@ def close_banner(e):
684684
bgcolor=colors.AMBER_100,
685685
leading=Icon(icons.WARNING_AMBER_ROUNDED, color=colors.AMBER, size=40),
686686
content=Text(
687-
"Important: Please read through the instructions at least once before actually following them, so as to avoid any problems due to any missed steps!"
687+
"These instructions only work if you follow every section and step precisely. Do not continue after something fails!"
688688
),
689689
actions=[
690690
TextButton("I understand", on_click=close_banner),
691691
],
692692
)
693-
# TODO: disable the banner for now
694-
# page.banner.open = True
695-
# page.update()
693+
page.banner.open = True
694+
page.update()
696695

697696
# create application instance
698697
app = MainView()

openandroidinstaller/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
def get_download_link(devicecode: str) -> Optional[str]:
2424
"""Check if a lineageOS version for this device exists on lineageosroms.com and return the respective download link."""
25-
url = f"https://download.lineageos.org/{devicecode.lower()}/"
25+
url = f"https://download.lineageos.org/{devicecode.lower()}"
2626
try:
2727
logger.info(f"Checking {url}")
2828
# Get Url

0 commit comments

Comments
 (0)