remove an extra slash added at toggling file visibility
This commit is contained in:
parent
0d26565df1
commit
a6ef2f71e1
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ ext {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.simplemobiletools:commons:3.15.18'
|
||||
implementation 'com.simplemobiletools:commons:3.16.0'
|
||||
implementation 'com.theartofdev.edmodo:android-image-cropper:2.6.0'
|
||||
implementation 'com.android.support:multidex:1.0.3'
|
||||
implementation 'com.google.code.gson:gson:2.8.2'
|
||||
|
|
|
@ -150,7 +150,7 @@ fun BaseSimpleActivity.toggleFileVisibility(oldPath: String, hide: Boolean, call
|
|||
filename.substring(1, filename.length)
|
||||
}
|
||||
|
||||
val newPath = "$path/$filename"
|
||||
val newPath = "$path$filename"
|
||||
renameFile(oldPath, newPath) {
|
||||
callback?.invoke(newPath)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue