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

Commit

Permalink
Fix AppInfo#getVersionCode signature
Browse files Browse the repository at this point in the history
  • Loading branch information
arkon committed Jun 7, 2022
1 parent 3c3f173 commit 77bc3ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ sourceSets {
}

// should be bumped with each stable release
val inspectorVersion = "v0.7.0"
val inspectorVersion = "v0.7.1"

// counts commit count on master
val inspectorRevision = runCatching {
Expand Down
2 changes: 1 addition & 1 deletion server/src/main/kotlin/eu/kanade/tachiyomi/BuildConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package eu.kanade.tachiyomi
class BuildConfig {
companion object {
const val VERSION_NAME = suwayomi.server.BuildConfig.NAME
const val VERSION_CODE = suwayomi.server.BuildConfig.REVISION
val VERSION_CODE = suwayomi.server.BuildConfig.REVISION.trimStart('r').toInt()
}
}
2 changes: 1 addition & 1 deletion server/src/main/kotlin/suwayomi/tachidesk/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ data class SourceJson(
)
}

private fun Boolean.toShort(): Short = if (this) 1 else 0
private fun Boolean.toShort(): Short = if (this) 1 else 0

0 comments on commit 77bc3ed

Please sign in to comment.