Skip to content

Commit 4222309

Browse files
committed
Put restart and finish buttons next to each other
1 parent 13c3500 commit 4222309

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

openandroidinstaller/views/success_view.py

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,6 @@ def close_window(e):
6868
""",
6969
on_tap_link=lambda e: self.page.launch_url(e.data),
7070
),
71-
Row(
72-
[
73-
ElevatedButton(
74-
"Finish and close",
75-
expand=True,
76-
on_click=close_window,
77-
)
78-
]
79-
),
8071
Row(
8172
[
8273
ElevatedButton(
@@ -85,8 +76,14 @@ def close_window(e):
8576
icon=icons.RESTART_ALT,
8677
disabled=False,
8778
expand=True,
79+
),
80+
ElevatedButton(
81+
"Finish and close",
82+
on_click=close_window,
83+
icon=icons.EXIT_TO_APP_OUTLINED,
84+
expand=True,
8885
)
8986
]
90-
),
87+
)
9188
]
9289
return self.view

0 commit comments

Comments
 (0)