mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Revert "Update Compose Material3"
This partially reverts commit 3dea10bcb9.
See https://issuetracker.google.com/issues/245626686
			
			
This commit is contained in:
		@@ -19,8 +19,8 @@ import androidx.compose.material3.DropdownMenuItem
 | 
			
		||||
import androidx.compose.material3.Icon
 | 
			
		||||
import androidx.compose.material3.IconButton
 | 
			
		||||
import androidx.compose.material3.MaterialTheme
 | 
			
		||||
import androidx.compose.material3.SmallTopAppBar
 | 
			
		||||
import androidx.compose.material3.Text
 | 
			
		||||
import androidx.compose.material3.TopAppBar
 | 
			
		||||
import androidx.compose.material3.TopAppBarDefaults
 | 
			
		||||
import androidx.compose.material3.TopAppBarScrollBehavior
 | 
			
		||||
import androidx.compose.material3.surfaceColorAtElevation
 | 
			
		||||
@@ -113,7 +113,7 @@ fun AppBar(
 | 
			
		||||
    Column(
 | 
			
		||||
        modifier = modifier,
 | 
			
		||||
    ) {
 | 
			
		||||
        TopAppBar(
 | 
			
		||||
        SmallTopAppBar(
 | 
			
		||||
            navigationIcon = {
 | 
			
		||||
                if (isActionMode) {
 | 
			
		||||
                    IconButton(onClick = onCancelActionMode) {
 | 
			
		||||
 
 | 
			
		||||
@@ -16,8 +16,8 @@ import androidx.compose.material3.DropdownMenuItem
 | 
			
		||||
import androidx.compose.material3.Icon
 | 
			
		||||
import androidx.compose.material3.IconButton
 | 
			
		||||
import androidx.compose.material3.MaterialTheme
 | 
			
		||||
import androidx.compose.material3.SmallTopAppBar
 | 
			
		||||
import androidx.compose.material3.Text
 | 
			
		||||
import androidx.compose.material3.TopAppBar
 | 
			
		||||
import androidx.compose.material3.TopAppBarDefaults
 | 
			
		||||
import androidx.compose.material3.surfaceColorAtElevation
 | 
			
		||||
import androidx.compose.runtime.Composable
 | 
			
		||||
@@ -56,7 +56,7 @@ fun MangaAppBar(
 | 
			
		||||
        modifier = modifier,
 | 
			
		||||
    ) {
 | 
			
		||||
        val isActionMode = actionModeCounter > 0
 | 
			
		||||
        TopAppBar(
 | 
			
		||||
        SmallTopAppBar(
 | 
			
		||||
            title = {
 | 
			
		||||
                Text(
 | 
			
		||||
                    text = if (isActionMode) actionModeCounter.toString() else title,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user