Skip to content

Commit 5748ff9

Browse files
committed
Minor update and remove floating restart button
1 parent 93e9b08 commit 5748ff9

2 files changed

Lines changed: 14 additions & 15 deletions

File tree

openandroidinstaller/openandroidinstaller.py

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
Column,
2626
Container,
2727
ElevatedButton,
28-
FloatingActionButton,
2928
Icon,
3029
Image,
3130
Page,
@@ -200,19 +199,19 @@ def close_banner(e):
200199
app = MainView()
201200

202201
# add a button that restarts the process
203-
def restart_process(e):
204-
logger.info("Restarted the process. Reset everything.")
205-
page.controls.pop()
206-
app = MainView()
207-
page.add(app)
208-
page.update()
209-
210-
page.floating_action_button = FloatingActionButton(
211-
text="Restart the process",
212-
icon=icons.RESTART_ALT_OUTLINED,
213-
tooltip="You can safely restart if you missed a step or didn't make it.",
214-
on_click=restart_process,
215-
)
202+
# def restart_process(e):
203+
# logger.info("Restarted the process. Reset everything.")
204+
# page.controls.pop()
205+
# app = MainView()
206+
# page.add(app)
207+
# page.update()
208+
209+
# page.floating_action_button = FloatingActionButton(
210+
# text="Restart the process",
211+
# icon=icons.RESTART_ALT_OUTLINED,
212+
# tooltip="You can safely restart if you missed a step or didn't make it.",
213+
# on_click=restart_process,
214+
# )
216215

217216
# add application's root control to the page
218217
page.add(app)

openandroidinstaller/views/start_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def check_bootloader_unlocked(e):
117117
Before you continue, make sure
118118
- your devices is on the latest system update.
119119
- you have a backup of all your important data, since this procedure will **erase all data from the phone**.
120-
- to not store the backup not the phone!
120+
- to not store the backup on the phone!
121121
122122
Please note, that vendor specific back-ups will most likely not work on LineageOS!
123123
"""

0 commit comments

Comments
 (0)