mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-18 23:05:26 +02:00
fix: Remove AudioVisualizer
This commit is contained in:
parent
2eb19ac5c4
commit
0d723bcfd4
@ -103,13 +103,6 @@ fun StartRecording(
|
|||||||
horizontalAlignment = Alignment.CenterHorizontally,
|
horizontalAlignment = Alignment.CenterHorizontally,
|
||||||
verticalArrangement = Arrangement.Bottom,
|
verticalArrangement = Arrangement.Bottom,
|
||||||
) {
|
) {
|
||||||
if (hasAmplitudes)
|
|
||||||
AudioVisualizer(
|
|
||||||
modifier = Modifier
|
|
||||||
.height(100.dp)
|
|
||||||
.padding(bottom = 32.dp),
|
|
||||||
amplitudes = service.amplitudes,
|
|
||||||
)
|
|
||||||
Button(
|
Button(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.padding(16.dp)
|
.padding(16.dp)
|
||||||
@ -117,7 +110,8 @@ fun StartRecording(
|
|||||||
.height(BIG_PRIMARY_BUTTON_SIZE),
|
.height(BIG_PRIMARY_BUTTON_SIZE),
|
||||||
onClick = {
|
onClick = {
|
||||||
saveFile(service.concatenateFiles())
|
saveFile(service.concatenateFiles())
|
||||||
}
|
},
|
||||||
|
colors = ButtonDefaults.textButtonColors(),
|
||||||
) {
|
) {
|
||||||
Icon(
|
Icon(
|
||||||
Icons.Default.Save,
|
Icons.Default.Save,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user