mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
ensure there is no duplicate '/' at copy path
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user