use the proper filepath at deleting from viewpager activity
This commit is contained in:
parent
eb1ef6852e
commit
592c80d951
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
|||
|
||||
Thread({
|
||||
if (needsPermissions) {
|
||||
val document = getFileDocument(mPath, config.treeUri)
|
||||
val document = getFileDocument(file.absolutePath, config.treeUri)
|
||||
|
||||
// double check we have the uri to the proper file path, not some parent folder
|
||||
val uri = URLDecoder.decode(document.uri.toString(), "UTF-8")
|
||||
|
|
Loading…
Reference in a new issue