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 0aed0b4..5b252b6 100755
--- a/gui/theme/common/landscape.xml
+++ b/gui/theme/common/landscape.xml
@@ -2944,13 +2944,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">
@@ -3073,17 +3066,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 f39a176..d3dba41 100755
--- a/gui/theme/common/portrait.xml
+++ b/gui/theme/common/portrait.xml
@@ -3096,13 +3096,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">
@@ -3262,17 +3255,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 0b81987..fd65619 100755
--- a/gui/theme/common/watch.xml
+++ b/gui/theme/common/watch.xml
@@ -3468,13 +3468,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"/>