mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Merge branch 'patch'
This commit is contained in:
		| @@ -60,8 +60,8 @@ fun ChapterDownloadIndicator( | ||||
|                 }, | ||||
|             ) { | ||||
|                 val indicatorModifier = Modifier | ||||
|                         .size(IndicatorSize) | ||||
|                         .padding(IndicatorPadding) | ||||
|                     .size(IndicatorSize) | ||||
|                     .padding(IndicatorPadding) | ||||
|                 if (isDownloaded) { | ||||
|                     Icon( | ||||
|                         imageVector = Icons.Default.CheckCircle, | ||||
| @@ -151,5 +151,6 @@ fun ChapterDownloadIndicator( | ||||
|  | ||||
| private val IndicatorSize = 26.dp | ||||
| private val IndicatorPadding = 2.dp | ||||
|  | ||||
| // To match composable parameter name when used later | ||||
| private val IndicatorStrokeWidth = IndicatorPadding | ||||
|   | ||||
| @@ -196,6 +196,8 @@ class LibraryUpdateService( | ||||
|      */ | ||||
|     override fun onDestroy() { | ||||
|         updateJob?.cancel() | ||||
|         // Despite what Android Studio | ||||
|         // states this can be null | ||||
|         ioScope?.cancel() | ||||
|         if (wakeLock.isHeld) { | ||||
|             wakeLock.release() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user