File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
src/main/kotlin/com/simplemobiletools/filemanager/pro/adapters Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ android {
6363}
6464
6565dependencies {
66- implementation ' com.github.SimpleMobileTools:Simple-Commons:e699738fae '
66+ implementation ' com.github.SimpleMobileTools:Simple-Commons:24fca0324f '
6767 implementation ' com.github.Stericson:RootTools:df729dcb13'
6868 implementation ' com.github.Stericson:RootShell:1.6'
6969 implementation ' com.alexvasilkov:gesture-views:2.5.2'
Original file line number Diff line number Diff line change @@ -366,10 +366,8 @@ class ItemsAdapter(
366366 }
367367
368368 private fun copyPath () {
369- val clip = ClipData .newPlainText(activity.getString(R .string.app_name), getFirstSelectedItemPath())
370- (activity.getSystemService(Context .CLIPBOARD_SERVICE ) as ClipboardManager ).setPrimaryClip(clip)
369+ activity.copyToClipboard(getFirstSelectedItemPath())
371370 finishActMode()
372- activity.toast(R .string.path_copied)
373371 }
374372
375373 private fun setAs () {
You can’t perform that action at this time.
0 commit comments