From 7ab0c12c97ebe61a6736eac220f107f2cfd24612 Mon Sep 17 00:00:00 2001 From: The412Banner Date: Thu, 8 Oct 2026 23:56:19 -0400 Subject: [PATCH] Stores: no description line that only repeats the title Metalstorm's page showed its own name again under the hero, where the store's description was just the title. Such a description is now no description. --- app/src/main/java/com/droiddeck/launcher/ui/StoresDetail.kt | 2 ++ docs/progress-log.md | 1 + 2 files changed, 3 insertions(+) diff --git a/app/src/main/java/com/droiddeck/launcher/ui/StoresDetail.kt b/app/src/main/java/com/droiddeck/launcher/ui/StoresDetail.kt index 403a1a47e..2e28a258f 100644 --- a/app/src/main/java/com/droiddeck/launcher/ui/StoresDetail.kt +++ b/app/src/main/java/com/droiddeck/launcher/ui/StoresDetail.kt @@ -109,7 +109,9 @@ internal fun StoreGameDetail(store: Store, key: String, s: FrontEndState, a: Fro } } // Plain text only, and nothing at all when the store sent a template key instead of words. + // A description that is only the title again (some stores fill it so) is no description. val description = item?.let { com.droiddeck.launcher.stores.cleanStoreText(it.description) }.orEmpty() + .takeUnless { it.trim().equals(title.trim(), ignoreCase = true) }.orEmpty() if (description.isNotBlank()) Rise(2) { Text(description, fontSize = 13.sp, lineHeight = 19.sp, color = colors.onSurfaceVariant, maxLines = 6, overflow = TextOverflow.Ellipsis, modifier = Modifier.padding(top = 12.dp)) } diff --git a/docs/progress-log.md b/docs/progress-log.md index f62119d3a..6f63ccce0 100644 --- a/docs/progress-log.md +++ b/docs/progress-log.md @@ -144,6 +144,7 @@ without it and Setup says "Stores engine not built"). (`token`, `__token__`, `f_token`, `hdnts`, access/refresh/id tokens, `code=`) and Authorization / Cookie headers are blanked outside URLs too. `StoreLogTest` covers a GOG secure link and an Epic Akamai URL. The engine's own logcat lines (tag `EpicNative` etc.) are written on the native side. +- **A store game page shows no description that is only its title again** (Metalstorm's). - **Epic launch card** (Games tab › Launch settings, Epic games only): "Epic sign-in (EOS)" on, "Launch offline" off, "Epic overlay" on, stored in the game's sidecar (`"epic": {"eos", "offline", "overlay"}`, kept across updates) so both launch paths honour them alike - the app's