gui: theme: Remove the TWRP app button from the reboot menu
* The TWRP app button results in a big delay to open the reboot page
Change-Id: I7390d5bff2142214dfb3e2aad821859ac03e8c2f
diff --git a/gui/theme/common/landscape.xml b/gui/theme/common/landscape.xml
index 542e4b6..a3bbfa7 100755
--- a/gui/theme/common/landscape.xml
+++ b/gui/theme/common/landscape.xml
@@ -2734,13 +2734,6 @@
</page>
<page name="reboot">
- <action>
- <action function="checkforapp"></action>
- <action function="page">reboot2</action>
- </action>
- </page>
-
- <page name="reboot2">
<template name="page"/>
<text style="text_l">
@@ -2845,17 +2838,6 @@
</listitem>
</listbox>
- <button style="main_button">
- <condition var1="tw_app_install_status" var2="1"/>
- <placement x="%center_x%" y="%row12_y%"/>
- <text>{@reboot_install_app_hdr=Install TWRP App}</text>
- <actions>
- <action function="set">tw_back=reboot</action>
- <action function="set">tw_appinstall_title={@reboot_hdr=Reboot}</action>
- <action function="page">installapp</action>
- </actions>
- </button>
-
<text style="text_m">
<condition var1="tw_has_boot_slots" var2="1"/>
<placement x="%col1_x_header%" y="%row14_y%"/>
diff --git a/gui/theme/common/portrait.xml b/gui/theme/common/portrait.xml
index b742a6f..9d05082 100755
--- a/gui/theme/common/portrait.xml
+++ b/gui/theme/common/portrait.xml
@@ -2890,13 +2890,6 @@
</page>
<page name="reboot">
- <action>
- <action function="checkforapp"></action>
- <action function="page">reboot2</action>
- </action>
- </page>
-
- <page name="reboot2">
<template name="page"/>
<text style="text_l">
@@ -3039,17 +3032,6 @@
</actions>
</button>
- <button style="main_button_half_height">
- <condition var1="tw_app_install_status" var2="1"/>
- <placement x="%indent%" y="%row22_y%"/>
- <text>{@reboot_install_app_hdr=Install TWRP App}</text>
- <actions>
- <action function="set">tw_back=reboot</action>
- <action function="set">tw_appinstall_title={@reboot_hdr=Reboot}</action>
- <action function="page">installapp</action>
- </actions>
- </button>
-
<action>
<touch key="home"/>
<action function="page">main</action>
diff --git a/gui/theme/common/watch.xml b/gui/theme/common/watch.xml
index 27a208e..3684356 100755
--- a/gui/theme/common/watch.xml
+++ b/gui/theme/common/watch.xml
@@ -3393,13 +3393,6 @@
</page>
<page name="reboot">
- <action>
- <action function="checkforapp"></action>
- <action function="page">reboot2</action>
- </action>
- </page>
-
- <page name="reboot2">
<template name="page"/>
<template name="statusbar"/>