use the current date and time as the default filename

This commit is contained in:
tibbi 2020-03-28 18:57:24 +01:00
parent 0998a51878
commit 55dcda8dbe
2 changed files with 3 additions and 2 deletions

View File

@ -38,5 +38,5 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:5.23.17'
implementation 'com.simplemobiletools:commons:5.24.1'
}

View File

@ -6,6 +6,7 @@ import android.view.Menu
import android.view.MenuItem
import com.simplemobiletools.commons.extensions.appLaunched
import com.simplemobiletools.commons.extensions.checkAppSideloading
import com.simplemobiletools.commons.extensions.getCurrentFormattedDateTime
import com.simplemobiletools.commons.helpers.PERMISSION_RECORD_AUDIO
import com.simplemobiletools.commons.models.FAQItem
import com.simplemobiletools.voicerecorder.BuildConfig
@ -45,7 +46,7 @@ class MainActivity : SimpleActivity() {
}
private fun initVoiceRecorder() {
val filename = "${getCurrentFormattedDateTime()}.mp3"
}
private fun launchSettings() {