Skip to content

Commit ac7f280

Browse files
committed
Fixed can not select file from storage
1 parent c7736bf commit ac7f280

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/src/main/java/com/duy/ide/javaide/projectview/dialog/DialogCopyFile.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public DialogCopyFile(Context context, String fromFile, File toDir, ProjectFileC
5252
public AlertDialog show() {
5353
AlertDialog.Builder builder = getBuilder();
5454
builder.setTitle(R.string.copy_file);
55-
builder.setView(R.layout.dialog_new_file);
5655

5756
LayoutInflater layoutInflater = LayoutInflater.from(getContext());
5857
View view = layoutInflater.inflate(R.layout.dialog_new_file, null);
@@ -86,7 +85,6 @@ public void onClick(DialogInterface dialog, int which) {
8685
});
8786

8887
builder.setView(view);
89-
builder.show();
9088

9189
AlertDialog dialog = builder.create();
9290
dialog.show();

0 commit comments

Comments
 (0)