Skip to content

Commit

Permalink
Revert "Put restart and finish buttons next to each other"
Browse files Browse the repository at this point in the history
This reverts commit 4222309.
  • Loading branch information
MagicLike committed Mar 23, 2023
1 parent 2d7b0e2 commit 475cfa3
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions openandroidinstaller/views/success_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,15 @@ 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 @@ -76,14 +85,8 @@ 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 475cfa3

Please sign in to comment.