games-hub: remove user-facing notes
- Commit
e2361a78fcb1b5f86a320b3703c97b64deecddb8- Author
- Vayun Mathur <[email protected]>
- When
- 2026-12-05 14:09 UTC (21 hours ago)
- Parents
d0df992
Remove the About GameHub section from settings (the "GameHub aggregates achievements, playtime, and activity..." paragraph and package name) and the clear-cache explainer text above the Clear cache button. The button and its confirmation dialog remain as the feature.
Diff
games/hub/src/main/java/com/vayunmathur/games/hub/ui/screens/SettingsScreen.kt
diff --git a/games/hub/src/main/java/com/vayunmathur/games/hub/ui/screens/SettingsScreen.kt b/games/hub/src/main/java/com/vayunmathur/games/hub/ui/screens/SettingsScreen.ktindex 8c345feae8..2c80113659 100644--- a/games/hub/src/main/java/com/vayunmathur/games/hub/ui/screens/SettingsScreen.kt+++ b/games/hub/src/main/java/com/vayunmathur/games/hub/ui/screens/SettingsScreen.kt@@ -7,7 +7,6 @@ import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.foundation.lazy.LazyColumn-import androidx.compose.material3.HorizontalDivider import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf@@ -47,18 +46,9 @@ fun SettingsScreen( item { Text(stringResource(R.string.data), style = MaterialTheme.typography.titleMedium) Column(verticalArrangement = Arrangement.spacedBy(8.dp), modifier = Modifier.padding(top = 8.dp)) {- Text(stringResource(R.string.clear_hub_cache_removes_all_cached_game), style = MaterialTheme.typography.bodySmall) OutlinedButton(onClick = { showClearConfirm = true }, modifier = Modifier.fillMaxWidth()) { Text(stringResource(R.string.clear_cache)) } } }- item { HorizontalDivider() }- item {- Text(stringResource(R.string.about_gamehub), style = MaterialTheme.typography.titleMedium)- Column(verticalArrangement = Arrangement.spacedBy(4.dp), modifier = Modifier.padding(top = 8.dp)) {- Text(stringResource(R.string.gamehub_aggregates_achievements_playtime), style = MaterialTheme.typography.bodySmall)- Text(stringResource(R.string.package_com_vayunmathur_games_hub), style = MaterialTheme.typography.labelSmall, color = MaterialTheme.colorScheme.onSurfaceVariant)- }- } } if (showClearConfirm) {
games/hub/src/main/res/values/strings.xml
diff --git a/games/hub/src/main/res/values/strings.xml b/games/hub/src/main/res/values/strings.xmlindex 40f0073dca..7c2db3a6da 100644--- a/games/hub/src/main/res/values/strings.xml+++ b/games/hub/src/main/res/values/strings.xml@@ -73,15 +73,11 @@ <!-- SettingsScreen: Section header for data management. Noun --> <string name="data">Data</string> <!-- SettingsScreen: Explanation for clear hub cache button. Sentence, warns cached data removed and games will re-sync -->- <string name="clear_hub_cache_removes_all_cached_game">Clear hub cache — removes all cached game data. Games will re-sync on next launch.</string> <!-- SettingsScreen: Button to clear cache. Verb phrase --> <string name="clear_cache">Clear cache</string> <!-- SettingsScreen: Section header for about GameHub description. Noun phrase -->- <string name="about_gamehub">About GameHub</string> <!-- SettingsScreen: Long description of GameHub purpose - aggregates achievements/playtime/activity via SDK mirrored cache, no leaderboards. Sentence -->- <string name="gamehub_aggregates_achievements_playtime">GameHub aggregates achievements, playtime, and activity across all registered games. Games remain source of truth — hub keeps a mirrored cache pushed via SDK. No leaderboards for now.</string> <!-- Settings: Package name. Noun -->- <string name="package_com_vayunmathur_games_hub">Package: com.vayunmathur.games.hub</string> <!-- SettingsScreen: Confirmation dialog title for clear cache action. Verb phrase question --> <string name="clear_cache_1">Clear cache?</string> <!-- SettingsScreen: Confirmation dialog body warning deletion of all cached games/achievements/sessions/activity. Sentence -->