When PiP is supported, use Back for top left icon instead of Close. #3197

This commit is contained in:
Benoit Marty 2024-07-15 17:04:17 +02:00 committed by Benoit Marty
parent 497f5d9f38
commit 15d4782aa6

View file

@ -81,7 +81,7 @@ internal fun CallScreenView(
title = { Text(stringResource(R.string.element_call)) },
navigationIcon = {
BackButton(
imageVector = CompoundIcons.Close(),
imageVector = if (pipState.supportPip) CompoundIcons.ArrowLeft() else CompoundIcons.Close(),
onClick = ::handleBack,
)
}