Fix MangaScreen app bar title and nav icon action (#7506)
This commit is contained in:
parent
634ee86bbd
commit
cbcab5a545
2 changed files with 2 additions and 2 deletions
|
@ -228,7 +228,7 @@ private fun MangaScreenSmallImpl(
|
||||||
backgroundAlphaProvider = { animatedBgAlpha },
|
backgroundAlphaProvider = { animatedBgAlpha },
|
||||||
incognitoMode = state.isIncognitoMode,
|
incognitoMode = state.isIncognitoMode,
|
||||||
downloadedOnlyMode = state.isDownloadedOnlyMode,
|
downloadedOnlyMode = state.isDownloadedOnlyMode,
|
||||||
onBackClicked = onBackClicked,
|
onBackClicked = internalOnBackPressed,
|
||||||
onShareClicked = onShareClicked,
|
onShareClicked = onShareClicked,
|
||||||
onDownloadClicked = onDownloadActionClicked,
|
onDownloadClicked = onDownloadActionClicked,
|
||||||
onEditCategoryClicked = onEditCategoryClicked,
|
onEditCategoryClicked = onEditCategoryClicked,
|
||||||
|
|
|
@ -74,7 +74,7 @@ fun MangaSmallAppBar(
|
||||||
text = if (isActionMode) actionModeCounter.toString() else title,
|
text = if (isActionMode) actionModeCounter.toString() else title,
|
||||||
maxLines = 1,
|
maxLines = 1,
|
||||||
overflow = TextOverflow.Ellipsis,
|
overflow = TextOverflow.Ellipsis,
|
||||||
modifier = Modifier.alpha(titleAlphaProvider()),
|
modifier = Modifier.alpha(if (isActionMode) 1f else titleAlphaProvider()),
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
navigationIcon = {
|
navigationIcon = {
|
||||||
|
|
Reference in a new issue