fix: Use proper sampling rate variable

This commit is contained in:
Myzel394 2023-08-03 23:50:30 +02:00
parent 1ca747d266
commit 1082612354
No known key found for this signature in database
GPG Key ID: 79CC92F37B3E1A2B

View File

@ -63,7 +63,7 @@ fun SamplingRateTile() {
keyboardType = KeyboardType.Number,
),
type = InputTextFieldType.OUTLINED,
text = (settings.audioRecorderSettings.bitRate / 1000).toString(),
text = settings.audioRecorderSettings.getSamplingRate().toString(),
validationListener = { text ->
val samplingRate = text?.toIntOrNull()