resolve two warnings

This commit is contained in:
qimiko committed 2024-01-18 19:23:07 -07:00
1 parent c844ff14ab
commit e72a56a9f4
2 files changed
+2 -1

No files matched your search

@@ -99,7 +99,7 @@ object DownloadUtils {
while (entry != null) { while (entry != null) {
if (entry.name == zipPath) { if (entry.name == zipPath) {
it.copyTo(outputStream) it.copyTo(outputStream)
return@use return@runInterruptible
} }
entry = it.nextEntry entry = it.nextEntry
@@ -24,6 +24,7 @@ object LaunchUtils {
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) { return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
game.longVersionCode game.longVersionCode
} else { } else {
@Suppress("DEPRECATION")
game.versionCode.toLong() game.versionCode.toLong()
} }
} }