mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Ensure EmptyScreen is scrollable
Also fix padding for loading/empty states in BrowseSourceScreen
This commit is contained in:
		| @@ -78,6 +78,7 @@ fun BrowseSourceContent( | ||||
|  | ||||
|     if (mangaList.itemCount <= 0 && errorState != null && errorState is LoadState.Error) { | ||||
|         EmptyScreen( | ||||
|             modifier = Modifier.padding(contentPadding), | ||||
|             message = getErrorMessage(errorState), | ||||
|             actions = if (source is LocalSource) { | ||||
|                 listOf( | ||||
| @@ -112,7 +113,9 @@ fun BrowseSourceContent( | ||||
|     } | ||||
|  | ||||
|     if (mangaList.itemCount == 0 && mangaList.loadState.refresh is LoadState.Loading) { | ||||
|         LoadingScreen() | ||||
|         LoadingScreen( | ||||
|             modifier = Modifier.padding(contentPadding), | ||||
|         ) | ||||
|         return | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user