Fix lint error
(cherry picked from commit 556f5a42a77fc355819919f91a9436902b25c789)
This commit is contained in:
parent
7e9199b3ef
commit
aaeac1b10c
1 changed files with 4 additions and 1 deletions
|
|
@ -87,7 +87,10 @@ internal class ExtensionGithubApi {
|
|||
}
|
||||
}
|
||||
|
||||
suspend fun checkForUpdates(context: Context, fromAvailableExtensionList: Boolean = false): List<Extension.Installed>? {
|
||||
suspend fun checkForUpdates(
|
||||
context: Context,
|
||||
fromAvailableExtensionList: Boolean = false,
|
||||
): List<Extension.Installed>? {
|
||||
// Limit checks to once a day at most
|
||||
if (!fromAvailableExtensionList &&
|
||||
Instant.now().toEpochMilli() < lastExtCheck.get() + 1.days.inWholeMilliseconds
|
||||
|
|
|
|||
Loading…
Reference in a new issue