Skip to content

Commit

Permalink
resolve two warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
qimiko committed Jan 19, 2024
1 parent c844ff1 commit e72a56a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ object DownloadUtils {
while (entry != null) {
if (entry.name == zipPath) {
it.copyTo(outputStream)
return@use
return@runInterruptible
}

entry = it.nextEntry
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/com/geode/launcher/utils/LaunchUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ object LaunchUtils {
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
game.longVersionCode
} else {
@Suppress("DEPRECATION")
game.versionCode.toLong()
}
}
Expand Down

0 comments on commit e72a56a

Please sign in to comment.