Fix MangaScreen app bar title and nav icon action (#7506)

This commit is contained in:
Ivan Iskandar 2022-07-11 01:29:58 +07:00 committed by GitHub
parent 634ee86bbd
commit cbcab5a545
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -228,7 +228,7 @@ private fun MangaScreenSmallImpl(
backgroundAlphaProvider = { animatedBgAlpha },
incognitoMode = state.isIncognitoMode,
downloadedOnlyMode = state.isDownloadedOnlyMode,
onBackClicked = onBackClicked,
onBackClicked = internalOnBackPressed,
onShareClicked = onShareClicked,
onDownloadClicked = onDownloadActionClicked,
onEditCategoryClicked = onEditCategoryClicked,

View file

@ -74,7 +74,7 @@ fun MangaSmallAppBar(
text = if (isActionMode) actionModeCounter.toString() else title,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
modifier = Modifier.alpha(titleAlphaProvider()),
modifier = Modifier.alpha(if (isActionMode) 1f else titleAlphaProvider()),
)
},
navigationIcon = {