mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-06-27 18:39:14 +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 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)
|
||||
|
||||
fun bindService() {
|
||||
|
||||
@@ -116,7 +116,7 @@ fun ReleaseNotesScreen(
|
||||
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 fullText = "${stringResource(R.string.version)} $versionName"
|
||||
val textColor = MaterialTheme.colorScheme.primary
|
||||
|
||||
Reference in New Issue
Block a user