Skip to content

Debloat your Android TV, install apps, browse and transfer files on it, all from your phone. Just 3 MB, no tracking, no root, no PC.

Remote menu: own name for the Restart TV label

jesse-agent-23218913eca080a
diff --git a/app/src/main/java/app/tellyscope/ui/Copy.kt b/app/src/main/java/app/tellyscope/ui/Copy.kt
index fab9b4d..8c724de 100644
--- a/app/src/main/java/app/tellyscope/ui/Copy.kt
+++ b/app/src/main/java/app/tellyscope/ui/Copy.kt
@@ -462,7 +462,7 @@ object Copy {
}
}
- const val RESTART_TV = "Restart TV"
+ const val REMOTE_RESTART = "Restart TV"
const val REBOOT_TITLE = "Restart the TV?"
const val REBOOT_TEXT = "The TV turns off and on again. Tellyscope reconnects by itself when it's back, usually within a minute."
const val RESTARTING_TITLE = "Restarting…"
diff --git a/app/src/main/java/app/tellyscope/ui/RemoteScreen.kt b/app/src/main/java/app/tellyscope/ui/RemoteScreen.kt
index 4b772d3..257780e 100644
--- a/app/src/main/java/app/tellyscope/ui/RemoteScreen.kt
+++ b/app/src/main/java/app/tellyscope/ui/RemoteScreen.kt
@@ -526,7 +526,7 @@ private fun RemoteMenu(screenControl: Boolean, off: Boolean, live: Boolean, show
onClick = { open = false; actions.screenOff(!off) },
)
DropdownMenuItem(
- text = { Text(Copy.RESTART_TV) },
+ text = { Text(Copy.REMOTE_RESTART) },
leadingIcon = { Icon(RemoteIcons.RestartAlt, null) },
enabled = live,
onClick = { open = false; onRestart() },
diff --git a/app/src/test/java/app/tellyscope/ScreenshotTest.kt b/app/src/test/java/app/tellyscope/ScreenshotTest.kt
index 51d0bc8..b3f8014 100644
--- a/app/src/test/java/app/tellyscope/ScreenshotTest.kt
+++ b/app/src/test/java/app/tellyscope/ScreenshotTest.kt
@@ -990,7 +990,7 @@ class ScreenshotTest {
compose.setContent { TellyscopeTheme(dynamic = false) { RemoteScreen(s, RemoteActions()) } }
compose.onNodeWithContentDescription("More options").performClick()
compose.onNodeWithText(Copy.SCREEN_OFF).assertDoesNotExist()
- compose.onNodeWithText(Copy.RESTART_TV).assertExists()
+ compose.onNodeWithText(Copy.REMOTE_RESTART).assertExists()
}
@Test fun remote_menu() = shot("13_remote_menu", screen = true, before = { compose.onNodeWithContentDescription("More options").performClick() }) {