mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Remove unnecessary checks
This commit is contained in:
		@@ -33,9 +33,7 @@ object Migrations {
 | 
			
		||||
                if (BuildConfig.INCLUDE_UPDATER) {
 | 
			
		||||
                    UpdaterJob.setupTask(context)
 | 
			
		||||
                }
 | 
			
		||||
                if (preferences.automaticExtUpdates().get()) {
 | 
			
		||||
                    ExtensionUpdateJob.setupTask(context)
 | 
			
		||||
                }
 | 
			
		||||
                ExtensionUpdateJob.setupTask(context)
 | 
			
		||||
                return false
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
@@ -81,9 +79,7 @@ object Migrations {
 | 
			
		||||
                BackupCreatorJob.setupTask(context)
 | 
			
		||||
 | 
			
		||||
                // New extension update check job
 | 
			
		||||
                if (preferences.automaticExtUpdates().get()) {
 | 
			
		||||
                    ExtensionUpdateJob.setupTask(context)
 | 
			
		||||
                }
 | 
			
		||||
                ExtensionUpdateJob.setupTask(context)
 | 
			
		||||
            }
 | 
			
		||||
            return true
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user