mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Fix number of items not updating when Show category tabs is off (#7644)
This commit is contained in:
		@@ -644,7 +644,7 @@ class LibraryPresenter(
 | 
			
		||||
        val defaultTitle = stringResource(id = R.string.label_library)
 | 
			
		||||
        val default = remember { LibraryToolbarTitle(defaultTitle) }
 | 
			
		||||
 | 
			
		||||
        return produceState(initialValue = default, category, mangaCountVisibility, tabVisibility) {
 | 
			
		||||
        return produceState(initialValue = default, category, loadedManga, mangaCountVisibility, tabVisibility) {
 | 
			
		||||
            val title = if (tabVisibility.not()) category?.name ?: defaultTitle else defaultTitle
 | 
			
		||||
 | 
			
		||||
            value = when {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user