diff --git a/mobile/src/freedom/java/be/mygod/vpnhotspot/util/UpdateChecker.kt b/mobile/src/freedom/java/be/mygod/vpnhotspot/util/UpdateChecker.kt index 9e7da358..04463ac4 100644 --- a/mobile/src/freedom/java/be/mygod/vpnhotspot/util/UpdateChecker.kt +++ b/mobile/src/freedom/java/be/mygod/vpnhotspot/util/UpdateChecker.kt @@ -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)