Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3296f8ec authored by tibbi's avatar tibbi
Browse files

remove the extra slash between file path and filename at renaming

parent ed1762b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ class RenameItemDialog(val activity: BaseSimpleActivity, val path: String, val c
                        return@setOnClickListener
                    }

                    val newPath = "${path.getParentPath()}/$newName"
                    val newPath = "${path.getParentPath()}$newName"
                    if (activity.getDoesFilePathExist(newPath)) {
                        activity.toast(R.string.name_taken)
                        return@setOnClickListener