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.

Launcher picker: no letter tiles, and a line that we're not affiliated

jesse-agent-23242e3a7c69301
diff --git a/app/src/main/java/app/tellyscope/ui/Copy.kt b/app/src/main/java/app/tellyscope/ui/Copy.kt
index 8880e9e..343d59b 100644
--- a/app/src/main/java/app/tellyscope/ui/Copy.kt
+++ b/app/src/main/java/app/tellyscope/ui/Copy.kt
@@ -135,6 +135,7 @@ object Copy {
const val RECOMMENDED = "Recommended"
const val USES_SERVICE = "Uses an accessibility service"
const val NO_SERVICE = "Open source · no accessibility service"
+ const val NOT_AFFILIATED = "Tellyscope isn't affiliated with any of these launchers or their developers."
const val OPEN_IN_STORE = "Open in Play Store"
const val INSTALL_HOME = "Install a home screen"
const val INSTALL_IT = "Install it on your TV"
diff --git a/app/src/main/java/app/tellyscope/ui/LauncherFlowUi.kt b/app/src/main/java/app/tellyscope/ui/LauncherFlowUi.kt
index e6a337e..4f76da3 100644
--- a/app/src/main/java/app/tellyscope/ui/LauncherFlowUi.kt
+++ b/app/src/main/java/app/tellyscope/ui/LauncherFlowUi.kt
@@ -165,13 +165,9 @@ fun LauncherScreen(device: Device, flow: LauncherFlow, apps: List<AppInfo>, acti
Headed(Copy.INSTALL_IT, bold(Copy.installItText(label), label, "Install"))
Surface(shape = MaterialTheme.shapes.large, color = c.surfaceContainer, modifier = Modifier.fillMaxWidth()) {
Column(Modifier.padding(16.dp), verticalArrangement = Arrangement.spacedBy(16.dp)) {
- Row(verticalAlignment = Alignment.CenterVertically) {
- LetterTile(flow.pkg)
- Spacer(Modifier.width(16.dp))
- Column {
- Text(label, style = MaterialTheme.typography.bodyLarge)
- Text(Copy.storeOn(name(device)), style = MaterialTheme.typography.bodyMedium, color = c.onSurfaceVariant)
- }
+ Column {
+ Text(label, style = MaterialTheme.typography.bodyLarge)
+ Text(Copy.storeOn(name(device)), style = MaterialTheme.typography.bodyMedium, color = c.onSurfaceVariant)
}
WaitingLine()
}
@@ -225,8 +221,6 @@ private fun Picker(chosen: String, onChoose: (String) -> Unit) {
modifier = Modifier.fillMaxWidth().selectable(on, role = Role.RadioButton) { onChoose(l.pkg) },
) {
Row(Modifier.padding(start = 16.dp, top = 16.dp, bottom = 16.dp, end = 8.dp)) {
- LetterTile(l.pkg)
- Spacer(Modifier.width(16.dp))
Column(Modifier.weight(1f)) {
Text(l.name, style = MaterialTheme.typography.bodyLarge)
Text(l.about, style = MaterialTheme.typography.bodyMedium, color = c.onSurfaceVariant)
@@ -241,18 +235,7 @@ private fun Picker(chosen: String, onChoose: (String) -> Unit) {
}
}
}
- }
-}
-
-/** No launcher icon exists on the phone before it's installed, so each has a letter in its own colour. */
-@Composable
-private fun LetterTile(pkg: String) {
- val l = RECOMMENDED.firstOrNull { it.pkg == pkg }
- Box(
- Modifier.size(40.dp).background(l?.let { Color(it.tile) } ?: MaterialTheme.colorScheme.secondaryContainer, MaterialTheme.shapes.medium),
- contentAlignment = Alignment.Center,
- ) {
- Text(launcherName(pkg).take(1), color = Color.White, style = MaterialTheme.typography.titleMedium)
+ Text(Copy.NOT_AFFILIATED, style = MaterialTheme.typography.bodySmall, color = c.onSurfaceVariant, modifier = Modifier.padding(top = 12.dp))
}
}
diff --git a/app/src/main/java/app/tellyscope/ui/Recommended.kt b/app/src/main/java/app/tellyscope/ui/Recommended.kt
index 4e10551..4422592 100644
--- a/app/src/main/java/app/tellyscope/ui/Recommended.kt
+++ b/app/src/main/java/app/tellyscope/ui/Recommended.kt
@@ -5,17 +5,17 @@ package app.tellyscope.ui
import app.tellyscope.data.AppNames
/**
- * A launcher Install a home screen offers, from the bundled `launchers.json`: its name, a line on
- * what it's like, and the letter tile's colour (there's no icon to show before it's installed).
+ * A launcher Install a home screen offers, from the bundled `launchers.json`: its name and a line
+ * on what it's like.
*/
-data class Recommended(val pkg: String, val name: String, val about: String, val accessibility: Boolean, val tile: Long)
+data class Recommended(val pkg: String, val name: String, val about: String, val accessibility: Boolean)
/** In the picker's order. [Recommended.accessibility] matches `launchers.json`; a test holds them together. */
val RECOMMENDED = listOf(
- Recommended("com.spocky.projengmenu", "Projectivy Launcher", "The most popular. Rows, wallpapers and icons you can change.", true, 0xFF3D5AFE),
- Recommended("com.overdevs.at4k", "AT4K Launcher", "A clean home screen in the Google TV style, without the ads.", true, 0xFF6A1B9A),
- Recommended("com.spauldhaliwal.dispatch", "Dispatch", "Minimal: a fast list of your apps and inputs.", true, 0xFFC62828),
- Recommended("me.efesser.flauncher", "FLauncher", "Simple: your apps in rows, nothing else.", false, 0xFF2E7D32),
+ Recommended("com.spocky.projengmenu", "Projectivy Launcher", "The most popular. Rows, wallpapers and icons you can change.", true),
+ Recommended("com.overdevs.at4k", "AT4K Launcher", "A clean home screen in the Google TV style, without the ads.", true),
+ Recommended("com.spauldhaliwal.dispatch", "Dispatch", "Minimal: a fast list of your apps and inputs.", true),
+ Recommended("me.efesser.flauncher", "FLauncher", "Simple: your apps in rows, nothing else.", false),
)
fun launcherName(pkg: String) = RECOMMENDED.firstOrNull { it.pkg == pkg }?.name ?: AppNames.fallback(pkg)