Align Android camera timer to the right of the control panel

This commit is contained in:
evgeny committed 2026-10-28 12:08:06 +01:00
1 parent 4aa5513f25
commit 379e7731df
1 file changed
+1 -1
@@ -312,7 +312,7 @@ fun CameraRecordScreen(initialMode: CaptureMode, onSend: (String, CaptureMode) -
Column(Modifier.fillMaxWidth().background(MaterialTheme.colorScheme.surface).padding(horizontal = 16.dp, vertical = 12.dp),
horizontalAlignment = Alignment.CenterHorizontally) {
if (mode == CaptureMode.VIDEO) Text("${elapsed / 60_000}:${(elapsed / 1000 % 60).toString().padStart(2, '0')}",
color = MaterialTheme.colorScheme.onSurface)
color = MaterialTheme.colorScheme.onSurface, modifier = Modifier.align(Alignment.End))
else if (photoSize.first > 0) Text("${photoSize.first}×${photoSize.second}", color = MaterialTheme.colorScheme.onSurface)
Row(verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(24.dp)) {
IconButton(onClick = { if (idle) onClose() else reset() }, enabled = phase != CapturePhase.SENDING) {