updating commons
This commit is contained in:
parent
c0d9809ad8
commit
59585e7858
|
@ -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'
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue