Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Less stringent check of versionCode in version
Browse files Browse the repository at this point in the history
  • Loading branch information
SanmerDev committed Aug 5, 2023
1 parent 804fd23 commit eaf494d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ data class LocalModule(
) {
var state by mutableStateOf(State.DISABLE)

val versionDisplay get() = if ("(${versionCode})" in version) {
val versionDisplay get() = if ("$versionCode" in version) {
version
} else {
"$version (${versionCode})"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ data class OnlineModule(
""
}

val versionDisplay get() = if ("(${versionCode})" in version) {
val versionDisplay get() = if ("$versionCode" in version) {
version
} else {
"$version (${versionCode})"
Expand Down

0 comments on commit eaf494d

Please sign in to comment.