mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	Case insensitive sort in Source tab (#7067)
This commit is contained in:
		| @@ -27,7 +27,7 @@ class GetEnabledSources( | ||||
|             sources | ||||
|                 .filter { it.lang in enabledLanguages || it.id == LocalSource.ID } | ||||
|                 .filterNot { it.id.toString() in disabledSources } | ||||
|                 .sortedBy { it.name } | ||||
|                 .sortedWith(compareBy(String.CASE_INSENSITIVE_ORDER) { it.name }) | ||||
|                 .flatMap { | ||||
|                     val flag = if ("${it.id}" in pinnedSourceIds) Pins.pinned else Pins.unpinned | ||||
|                     val source = it.copy(pin = flag) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user