mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-03 23:58:55 +01:00 
			
		
		
		
	Fix lint error
This commit is contained in:
		@@ -86,7 +86,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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user