Skip to content

Commit 947790c

Browse files
eriedclaude
andcommitted
About: add Resources & libraries table
Sits below "Thanks to:" in the About dialog and lists the third-party material the app ships with — engine sample sources, Compose/Material 3, Hilt/Room/WorkManager, Kotlin coroutines, Flic2 SDK, Play services — each with author + license + short purpose. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 596666a commit 947790c

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

app/src/main/java/com/eried/eucplanet/ui/dashboard/DashboardScreen.kt

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,6 +1038,44 @@ fun DashboardScreen(
10381038
)
10391039
}
10401040
}
1041+
Spacer(Modifier.height(14.dp))
1042+
Text(
1043+
"Resources & libraries:",
1044+
style = MaterialTheme.typography.titleSmall,
1045+
color = MaterialTheme.colorScheme.onSurface
1046+
)
1047+
Spacer(Modifier.height(4.dp))
1048+
val resources = listOf(
1049+
"BigSoundBank — engine samples" to "Joseph SARDIN. CC0 / public domain. V8 Cobra, V-twin Ducati, diesel truck, motorcycle and city car recordings used in the Motor sound generator.",
1050+
"Jetpack Compose, Material 3" to "Google. Apache 2.0. UI toolkit and design system.",
1051+
"Hilt, Room, WorkManager, Navigation" to "Google. Apache 2.0. DI, persistence, background jobs, navigation graph.",
1052+
"Kotlin & coroutines" to "JetBrains. Apache 2.0. Language and structured concurrency.",
1053+
"Flic2 SDK" to "Shortcut Labs. Used for hardware Flic button integration.",
1054+
"Play services (location, wearable)" to "Google. Apache 2.0. GPS and watch companion data layer."
1055+
)
1056+
resources.forEach { (name, why) ->
1057+
Row(
1058+
modifier = Modifier
1059+
.fillMaxWidth()
1060+
.padding(vertical = 3.dp)
1061+
) {
1062+
Text(
1063+
name,
1064+
style = MaterialTheme.typography.bodySmall.copy(
1065+
fontWeight = FontWeight.SemiBold
1066+
),
1067+
modifier = Modifier.weight(0.42f),
1068+
color = MaterialTheme.colorScheme.onSurface
1069+
)
1070+
Spacer(Modifier.width(8.dp))
1071+
Text(
1072+
why,
1073+
style = MaterialTheme.typography.bodySmall,
1074+
modifier = Modifier.weight(0.58f),
1075+
color = MaterialTheme.colorScheme.onSurfaceVariant
1076+
)
1077+
}
1078+
}
10411079
}
10421080
}
10431081
}

0 commit comments

Comments
 (0)