updating commons

This commit is contained in:
tibbi 2022-01-03 22:52:15 +01:00
parent c0d9809ad8
commit 59585e7858
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:ea74adfbfd'
implementation 'com.github.SimpleMobileTools:Simple-Commons:14033f9b50'
implementation 'org.greenrobot:eventbus:3.2.0'
implementation 'com.github.Armen101:AudioRecordView:1.0.4'
implementation 'androidx.documentfile:documentfile:1.0.1'

View File

@ -75,6 +75,6 @@ class RenameRecordingDialog(val activity: BaseSimpleActivity, val recording: Rec
val oldPath = recording.path
val newFilename = "${newTitle.removeSuffix(".$oldExtension")}.$oldExtension"
val newPath = File(oldPath.getParentPath(), newFilename).absolutePath
activity.renameFile(oldPath, newPath)
activity.renameFile(oldPath, newPath, false)
}
}