Skip to content

Commit

Permalink
Put restart and finish buttons next to each other
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicLike committed Mar 13, 2023
1 parent 13c3500 commit 4222309
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions openandroidinstaller/views/success_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,6 @@ def close_window(e):
""",
on_tap_link=lambda e: self.page.launch_url(e.data),
),
Row(
[
ElevatedButton(
"Finish and close",
expand=True,
on_click=close_window,
)
]
),
Row(
[
ElevatedButton(
Expand All @@ -85,8 +76,14 @@ def close_window(e):
icon=icons.RESTART_ALT,
disabled=False,
expand=True,
),
ElevatedButton(
"Finish and close",
on_click=close_window,
icon=icons.EXIT_TO_APP_OUTLINED,
expand=True,
)
]
),
)
]
return self.view

0 comments on commit 4222309

Please sign in to comment.