Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
appt2 committed May 18, 2024
1 parent cd584a6 commit 3000a22
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .androidide/editor/openedFiles.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"file": "/storage/emulated/0/AndroidIDEProjects/Psp tools/app/src/main/java/ir/ninjacoder/psptools/rewinter/adapters/FileListAdapter.java",
"selection": {
"end": {
"column": 38,
"index": 2621,
"line": 72
"column": 0,
"index": 0,
"line": 0
},
"start": {
"column": 38,
"index": 2621,
"line": 72
"column": 0,
"index": 0,
"line": 0
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,11 @@ public void onBindViewHolder(Holder holder, int pos) {
.placeholder(R.drawable.ic_launcher_foreground)
.into(holder.icon);
}
holder.itemView.setOnLongClickListener(v ->{
copyFileNamesToClipboard(listFile);
return false;
});
holder.itemView.setOnLongClickListener(
v -> {
copyFileNamesToClipboardFromPsp(listFile);
return false;
});
holder.name.setText(files.getName());
if (!files.isDirectory()) {
setHolder(holder.sub, files);
Expand Down Expand Up @@ -191,10 +192,9 @@ private void copyFileNamesToClipboardFromPsp(List<File> listFile) {
if (file.isDirectory()) {
continue;
}
fileNamesBuilder.append(file.getName()).append("\n");
fileNamesBuilder.append(file.getName()).append(" = ").append(file.getName()).append("\n");
}
String fileNames = fileNamesBuilder.toString();
ClipboardUtils.copyText(fileNames + " = " + fileNames );
Toast.makeText(App.getContext(),"All File copyed using from Texturs.ini!",2).show();
ClipboardUtils.copyText(fileNames);
}
}

0 comments on commit 3000a22

Please sign in to comment.