mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-02-17 04:10:39 +01:00
ensure there is no duplicate '/' at copy path
This commit is contained in:
parent
ff23ac8da6
commit
479c3c6c4e
@ -22,7 +22,7 @@ class CopyDialog(val activity: Activity, val files: List<File>, val path: String
|
|||||||
|
|
||||||
init {
|
init {
|
||||||
val view = LayoutInflater.from(mContext).inflate(R.layout.copy_item, null)
|
val view = LayoutInflater.from(mContext).inflate(R.layout.copy_item, null)
|
||||||
view.source.text = "$path/"
|
view.source.text = "${path.trimEnd('/')}/"
|
||||||
|
|
||||||
view.destination.setOnClickListener {
|
view.destination.setOnClickListener {
|
||||||
val config = Config.newInstance(mContext)
|
val config = Config.newInstance(mContext)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user