From 681f022f7a1dc76ecf8e085c3d94c1f23ed3dd01 Mon Sep 17 00:00:00 2001 From: Leonidius20 <25536411+Leonidius20@users.noreply.github.com> Date: Sun, 16 Jun 2024 17:02:25 +0300 Subject: [PATCH] added build type info to about app dialog --- .../beatinspector/features/settings/ui/SettingsScreen.kt | 7 +++++-- app/src/main/res/values/strings.xml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/ua/leonidius/beatinspector/features/settings/ui/SettingsScreen.kt b/app/src/main/java/ua/leonidius/beatinspector/features/settings/ui/SettingsScreen.kt index c5d20f2..1f4607c 100644 --- a/app/src/main/java/ua/leonidius/beatinspector/features/settings/ui/SettingsScreen.kt +++ b/app/src/main/java/ua/leonidius/beatinspector/features/settings/ui/SettingsScreen.kt @@ -272,9 +272,12 @@ fun AboutDialog( }, text = { Text( - text = stringResource(R.string.version, BuildConfig.VERSION_NAME), - textAlign = TextAlign.Justify, + stringResource(id = R.string.about_app_version, + BuildConfig.VERSION_NAME, + BuildConfig.BUILD_TYPE, + ), ) + }, onDismissRequest = onDismissRequest, confirmButton = { } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1d031f9..a3e8dfd 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -247,7 +247,7 @@ There was an error during the login process. Please try again. We request access to your username and profile picture, so that you can see which account was used to log into the app.\n\nWe request access to your playlists, liked (saved) tracks, top tracks and recently played tracks, so that you can view the information about them.\n Try again - Version %1$s + Version: %1$s\nBuild: %2$s settings Content I am less than 19 years old