Skip to content

Commit 1a99a42

Browse files
committed
Moved feedback to app header
Moved feedback to app header instead of opening it automatically.
1 parent e3c12e6 commit 1a99a42

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

openandroidinstaller/openandroidinstaller.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,17 @@ def main(page: Page, test: bool = False, test_config: str = "sargo"):
247247
padding=15,
248248
tooltip="Frequently asked questions and encountered issues.",
249249
),
250+
Container(
251+
content=ElevatedButton(
252+
icon=icons.BUG_REPORT_OUTLINED,
253+
text="Give feedback",
254+
on_click=lambda _: webbrowser.open(
255+
"https://openandroidinstaller.org/feedback.html"
256+
),
257+
),
258+
padding=15,
259+
tooltip="Give feedback about your experience with Open Android Installer",
260+
),
250261
Container(
251262
content=ElevatedButton(
252263
icon=icons.BUG_REPORT_OUTLINED,

openandroidinstaller/views/success_view.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ def build(
3636
):
3737
def close_window(e):
3838
logger.success("Success! Close the window.")
39-
# open the feedback page
40-
feedback_url = "https://openandroidinstaller.org/feedback.html"
41-
webbrowser.open(feedback_url)
4239
# close the window
4340
self.page.window_close()
4441

0 commit comments

Comments
 (0)