Skip to content

Commit 475cfa3

Browse files
committed
Revert "Put restart and finish buttons next to each other"
This reverts commit 4222309.
1 parent 2d7b0e2 commit 475cfa3

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

openandroidinstaller/views/success_view.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@ 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+
),
7180
Row(
7281
[
7382
ElevatedButton(
@@ -76,14 +85,8 @@ def close_window(e):
7685
icon=icons.RESTART_ALT,
7786
disabled=False,
7887
expand=True,
79-
),
80-
ElevatedButton(
81-
"Finish and close",
82-
on_click=close_window,
83-
icon=icons.EXIT_TO_APP_OUTLINED,
84-
expand=True,
8588
)
8689
]
87-
)
90+
),
8891
]
8992
return self.view

0 commit comments

Comments
 (0)