Refine code style

This commit is contained in:
Mygod
2021-10-25 11:15:07 -04:00
parent dd0d58af67
commit 9c30b82100

View File

@@ -57,7 +57,7 @@ object UpdateChecker {
putLong(KEY_PUBLISHED, published)
}
emit(if (myVersion == version) null else GitHubUpdate(version, published))
} catch (e: CancellationException) {
} catch (_: CancellationException) {
return@flow
} catch (e: Exception) {
Timber.w(e)