When pressing the button, start unmuted because it already pressed the "unmute" icon...
This commit is contained in:
+1
-1
@@ -329,7 +329,7 @@ private fun OnStageIdleControls(
|
|||||||
TalkButton(
|
TalkButton(
|
||||||
onClick = {
|
onClick = {
|
||||||
if (context.hasMicPermission()) {
|
if (context.hasMicPermission()) {
|
||||||
viewModel.startBroadcast(speakerPubkeyHex, initialMuted = true)
|
viewModel.startBroadcast(speakerPubkeyHex, initialMuted = false)
|
||||||
} else {
|
} else {
|
||||||
permissionLauncher.launch(Manifest.permission.RECORD_AUDIO)
|
permissionLauncher.launch(Manifest.permission.RECORD_AUDIO)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user