mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-06-27 02:19:09 +00:00
android: remove '-play' from version name for release notes
This commit is contained in:
@@ -181,7 +181,7 @@ fun Main() {
|
|||||||
|
|
||||||
val onboardingComplete = sharedPreferences.getBoolean("onboarding_complete", false)
|
val onboardingComplete = sharedPreferences.getBoolean("onboarding_complete", false)
|
||||||
|
|
||||||
val releaseNotesShownPrefKey = "release_notes_shown_${BuildConfig.VERSION_NAME.removeSuffix("-debug")}"
|
val releaseNotesShownPrefKey = "release_notes_shown_${BuildConfig.VERSION_NAME.removeSuffix("-debug").removeSuffix("-play")}"
|
||||||
val releaseNotesShown = sharedPreferences.getBoolean(releaseNotesShownPrefKey, false)
|
val releaseNotesShown = sharedPreferences.getBoolean(releaseNotesShownPrefKey, false)
|
||||||
|
|
||||||
fun bindService() {
|
fun bindService() {
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ fun ReleaseNotesScreen(
|
|||||||
textAlign = TextAlign.Center
|
textAlign = TextAlign.Center
|
||||||
)
|
)
|
||||||
|
|
||||||
val versionName = BuildConfig.VERSION_NAME.removeSuffix("-debug")
|
val versionName = BuildConfig.VERSION_NAME.removeSuffix("-debug").removeSuffix("-play")
|
||||||
val url = "https://github.com/kavishdevar/librepods/releases/v$versionName"
|
val url = "https://github.com/kavishdevar/librepods/releases/v$versionName"
|
||||||
val fullText = "${stringResource(R.string.version)} $versionName"
|
val fullText = "${stringResource(R.string.version)} $versionName"
|
||||||
val textColor = MaterialTheme.colorScheme.primary
|
val textColor = MaterialTheme.colorScheme.primary
|
||||||
|
|||||||
Reference in New Issue
Block a user