Skip to content

Commit

Permalink
added build type info to about app dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonidius20 committed Jun 16, 2024
1 parent 84020fb commit 681f022
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = { }
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@
<string name="log_in_error">There was an error during the login process. Please try again.</string>
<string name="login_scopes_tip">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</string>
<string name="login_screen_try_again_button">Try again</string>
<string name="version">Version %1$s</string>
<string name="about_app_version">Version: %1$s\nBuild: %2$s</string>
<string name="preferences_settings_file_name" translatable="false">settings</string>
<string name="settings_block_content">Content</string>
<string name="login_i_am_a_minor">I am less than 19 years old</string>
Expand Down

0 comments on commit 681f022

Please sign in to comment.