mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-03 23:58:55 +01:00 
			
		
		
		
	Remove unused Gson singleton factory
We don't inject it anywhere anymore.
This commit is contained in:
		@@ -2,7 +2,6 @@ package eu.kanade.tachiyomi
 | 
			
		||||
 | 
			
		||||
import android.app.Application
 | 
			
		||||
import android.os.Handler
 | 
			
		||||
import com.google.gson.Gson
 | 
			
		||||
import eu.kanade.tachiyomi.data.cache.ChapterCache
 | 
			
		||||
import eu.kanade.tachiyomi.data.cache.CoverCache
 | 
			
		||||
import eu.kanade.tachiyomi.data.database.DatabaseHelper
 | 
			
		||||
@@ -42,8 +41,6 @@ class AppModule(val app: Application) : InjektModule {
 | 
			
		||||
 | 
			
		||||
        addSingletonFactory { TrackManager(app) }
 | 
			
		||||
 | 
			
		||||
        addSingletonFactory { Gson() }
 | 
			
		||||
 | 
			
		||||
        addSingletonFactory { Json { ignoreUnknownKeys = true } }
 | 
			
		||||
 | 
			
		||||
        // Asynchronously init expensive components for a faster cold start
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user