fix(ui): Remove Spacer on StartRecording on landscape to provider more space for the buttons

Signed-off-by: Myzel394 <50424412+Myzel394@users.noreply.github.com>
This commit is contained in:
Myzel394 2024-02-23 23:07:00 +01:00
parent 2de62d0d29
commit 797ecce9ca
No known key found for this signature in database
GPG Key ID: DEC4AAB876F73185

View File

@ -106,8 +106,6 @@ fun StartRecording(
verticalArrangement = Arrangement.SpaceBetween,
horizontalAlignment = Alignment.CenterHorizontally,
) {
Spacer(modifier = Modifier.weight(1f))
when (orientation) {
Configuration.ORIENTATION_LANDSCAPE -> {
Row(
@ -131,6 +129,8 @@ fun StartRecording(
}
else -> {
Spacer(modifier = Modifier.weight(1f))
if (showAudioRecorder)
AudioRecordingStart(
audioRecorder = audioRecorder,