mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
When PiP is supported, use Back for top left icon instead of Close. #3197
This commit is contained in:
committed by
Benoit Marty
parent
497f5d9f38
commit
15d4782aa6
+1
-1
@@ -81,7 +81,7 @@ internal fun CallScreenView(
|
|||||||
title = { Text(stringResource(R.string.element_call)) },
|
title = { Text(stringResource(R.string.element_call)) },
|
||||||
navigationIcon = {
|
navigationIcon = {
|
||||||
BackButton(
|
BackButton(
|
||||||
imageVector = CompoundIcons.Close(),
|
imageVector = if (pipState.supportPip) CompoundIcons.ArrowLeft() else CompoundIcons.Close(),
|
||||||
onClick = ::handleBack,
|
onClick = ::handleBack,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user