ensure there is no duplicate '/' at copy path
This commit is contained in:
parent
ff23ac8da6
commit
479c3c6c4e
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class CopyDialog(val activity: Activity, val files: List<File>, val path: String
|
|||
|
||||
init {
|
||||
val view = LayoutInflater.from(mContext).inflate(R.layout.copy_item, null)
|
||||
view.source.text = "$path/"
|
||||
view.source.text = "${path.trimEnd('/')}/"
|
||||
|
||||
view.destination.setOnClickListener {
|
||||
val config = Config.newInstance(mContext)
|
||||
|
|
Loading…
Reference in a new issue