Skip to content

Commit 7811a7e

Browse files
committed
Add FAQ button to the header
1 parent a570277 commit 7811a7e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

openandroidinstaller/openandroidinstaller.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,17 @@ def main(page: Page, test: bool = False, test_config: str = "sargo"):
233233
center_title=False,
234234
bgcolor="#00d886",
235235
actions=[
236+
Container(
237+
content=ElevatedButton(
238+
icon=icons.QUESTION_MARK_ROUNDED,
239+
text="FAQ",
240+
on_click=lambda _: webbrowser.open(
241+
"https://openandroidinstaller.org/faq.html"
242+
),
243+
),
244+
padding=15,
245+
tooltip="Frequently asked questions and encountered issues.",
246+
),
236247
Container(
237248
content=ElevatedButton(
238249
icon=icons.BUG_REPORT_OUTLINED,

0 commit comments

Comments
 (0)