mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Register TachiyomiImageDecoder after built-in Coil decoders
Not sure if this is related to #5702.
This commit is contained in:
		| @@ -116,12 +116,12 @@ open class App : Application(), LifecycleObserver, ImageLoaderFactory { | ||||
|     override fun newImageLoader(): ImageLoader { | ||||
|         return ImageLoader.Builder(this).apply { | ||||
|             componentRegistry { | ||||
|                 add(TachiyomiImageDecoder(this@App.resources)) | ||||
|                 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) { | ||||
|                     add(ImageDecoderDecoder(this@App)) | ||||
|                 } else { | ||||
|                     add(GifDecoder()) | ||||
|                 } | ||||
|                 add(TachiyomiImageDecoder(this@App.resources)) | ||||
|                 add(ByteBufferFetcher()) | ||||
|                 add(MangaCoverFetcher()) | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user