Keep call metrics visible outside settings on both clients

This commit is contained in:
evgeny committed 2026-10-15 12:06:27 +02:00
1 parent 7d75afd4c5
commit 1b07a8a708
2 files changed
+11 -6

No files matched your search

@@ -251,6 +251,13 @@ fun CallScreen(
fontSize = 13.sp
)
}
if (phase == CallPhase.ACTIVE) st?.stats?.let { stats ->
Spacer(Modifier.height(8.dp))
Text(stringResource(R.string.call_stats, stats.bufferMs, stats.reserveMs,
stats.minMs, stats.maxMs, "%.2f".format(stats.tempoX100 / 100.0), stats.rttMs, stats.dropped, stats.underruns),
modifier = Modifier.padding(horizontal = 16.dp), color = Color(0xFFAEBCC8),
fontSize = 12.sp, textAlign = TextAlign.Center)
}
Spacer(Modifier.height(40.dp))
}
@@ -350,8 +357,6 @@ fun CallScreen(
text = {
Column(Modifier.verticalScroll(rememberScrollState())) {
video?.let { CallVideoPanel(it) }
st?.stats?.let { stats -> Text(stringResource(R.string.call_stats, stats.bufferMs, stats.reserveMs,
stats.minMs, stats.maxMs, "%.2f".format(stats.tempoX100 / 100.0), stats.rttMs, stats.dropped, stats.underruns)) }
}
})