Rename peptide to revolt in API and About screen

This commit renames the `peptide` field to `revolt` in the `Root` data class and updates its usage in the `AboutScreen` to reflect this change.
This commit is contained in:
AbronStudio 2025-08-24 12:42:17 +03:30
parent 8e19376e29
commit d128710f7b
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import kotlinx.serialization.Serializable
@Serializable
data class Root(
val peptide: String,
val revolt: String,
val features: Features,
val ws: String,
val app: String,

View File

@ -72,7 +72,7 @@ class AboutViewModel : ViewModel() {
"App Version" to BuildConfig.VERSION_NAME,
"App Type" to BuildConfig.FLAVOUR_ID,
"API Host" to URI(PeptideAPI.getCurrentBaseUrl()).host,
"API Version" to (root?.peptide ?: "Unknown"),
"API Version" to (root?.revolt ?: "Unknown"),
"Runtime SDK" to Build.VERSION.SDK_INT.toString(),
"Model" to "${Build.MANUFACTURER} ${
Build.DEVICE.replaceFirstChar {