mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-19 07:15:25 +02:00
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:
parent
2de62d0d29
commit
797ecce9ca
@ -106,8 +106,6 @@ fun StartRecording(
|
|||||||
verticalArrangement = Arrangement.SpaceBetween,
|
verticalArrangement = Arrangement.SpaceBetween,
|
||||||
horizontalAlignment = Alignment.CenterHorizontally,
|
horizontalAlignment = Alignment.CenterHorizontally,
|
||||||
) {
|
) {
|
||||||
Spacer(modifier = Modifier.weight(1f))
|
|
||||||
|
|
||||||
when (orientation) {
|
when (orientation) {
|
||||||
Configuration.ORIENTATION_LANDSCAPE -> {
|
Configuration.ORIENTATION_LANDSCAPE -> {
|
||||||
Row(
|
Row(
|
||||||
@ -131,6 +129,8 @@ fun StartRecording(
|
|||||||
}
|
}
|
||||||
|
|
||||||
else -> {
|
else -> {
|
||||||
|
Spacer(modifier = Modifier.weight(1f))
|
||||||
|
|
||||||
if (showAudioRecorder)
|
if (showAudioRecorder)
|
||||||
AudioRecordingStart(
|
AudioRecordingStart(
|
||||||
audioRecorder = audioRecorder,
|
audioRecorder = audioRecorder,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user