Skip to content

Commit

Permalink
Add link to feedback page in success view
Browse files Browse the repository at this point in the history
  • Loading branch information
tsterbak committed Jan 1, 2023
1 parent b2e4d24 commit 9f588fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openandroidinstaller/views/success_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# If not, see <https://www.gnu.org/licenses/>."""
# Author: Tobias Sterbak

import webbrowser
from loguru import logger
from flet import (
ElevatedButton,
Expand All @@ -35,6 +36,10 @@ def build(
):
def close_window(e):
logger.success("Success! Close the window.")
# open the feedback page
feedback_url = "https://openandroidinstaller.org/feedback.html"
webbrowser.open(feedback_url)
# close the window
self.page.window_close()

# right view header
Expand Down

0 comments on commit 9f588fd

Please sign in to comment.