Skip to content

Commit

Permalink
✅ fix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
SheTieJun committed Mar 21, 2024
1 parent 3f0148d commit 3e743f6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ class RecordUtils(
fun showChangeDialog(context: Context) {
MaterialAlertDialogBuilder(context)
.setTitle("切换录音工具")
.setMessage("建议不要在录音中进行切换,切换时会自动默认完成")
.setSingleChoiceItems(arrayOf("MixRecorder", "SimRecorder", "STRecorder"), getSelectPosition(recorderType)) { dialog, which ->
.setSingleChoiceItems(arrayOf("MixRecorder", "SimRecorder", "STRecorder"), getSelectPosition(recorderType))
{ dialog, which ->
updateRecorderType(which)
dialog.dismiss()
}
}.show()
}

fun getRecorderTypeName(): String {
Expand Down

0 comments on commit 3e743f6

Please sign in to comment.