|
38 | 38 | import com.simplemobiletools.filemanager.adapters.ItemsAdapter; |
39 | 39 | import com.simplemobiletools.filemanager.asynctasks.CopyTask; |
40 | 40 | import com.simplemobiletools.filemanager.dialogs.PropertiesDialog; |
41 | | -import com.simplemobiletools.filemanager.dialogs.SelectFolderDialog; |
| 41 | +import com.simplemobiletools.filepicker.dialogs.SelectFolderDialog; |
42 | 42 | import com.simplemobiletools.filepicker.models.FileDirItem; |
43 | 43 |
|
44 | 44 | import java.io.File; |
@@ -215,8 +215,8 @@ public void fabClicked(View view) { |
215 | 215 | final AlertDialog.Builder builder = new AlertDialog.Builder(getContext()); |
216 | 216 | builder.setTitle(getResources().getString(R.string.create_new)); |
217 | 217 | builder.setView(newItemView); |
218 | | - builder.setPositiveButton(R.string.smtfp_ok, null); |
219 | | - builder.setNegativeButton(R.string.smtfp_cancel, null); |
| 218 | + builder.setPositiveButton(R.string.ok, null); |
| 219 | + builder.setNegativeButton(R.string.cancel, null); |
220 | 220 |
|
221 | 221 | final AlertDialog alertDialog = builder.create(); |
222 | 222 | alertDialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE); |
@@ -394,8 +394,8 @@ private void displayRenameDialog() { |
394 | 394 | final AlertDialog.Builder builder = new AlertDialog.Builder(getContext()); |
395 | 395 | builder.setTitle(getResources().getString(title)); |
396 | 396 | builder.setView(renameView); |
397 | | - builder.setPositiveButton(R.string.smtfp_ok, null); |
398 | | - builder.setNegativeButton(R.string.smtfp_cancel, null); |
| 397 | + builder.setPositiveButton(R.string.ok, null); |
| 398 | + builder.setNegativeButton(R.string.cancel, null); |
399 | 399 |
|
400 | 400 | final AlertDialog alertDialog = builder.create(); |
401 | 401 | alertDialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE); |
@@ -445,16 +445,16 @@ private void displayCopyDialog() { |
445 | 445 | final AlertDialog.Builder builder = new AlertDialog.Builder(getContext()); |
446 | 446 | builder.setTitle(getResources().getString(copyString)); |
447 | 447 | builder.setView(copyView); |
448 | | - builder.setPositiveButton(R.string.smtfp_ok, null); |
449 | | - builder.setNegativeButton(R.string.smtfp_cancel, null); |
| 448 | + builder.setPositiveButton(R.string.ok, null); |
| 449 | + builder.setNegativeButton(R.string.cancel, null); |
450 | 450 |
|
451 | 451 | mCopyDialog = builder.create(); |
452 | 452 | mCopyDialog.show(); |
453 | 453 | mCopyDialog.getButton(AlertDialog.BUTTON_POSITIVE).setOnClickListener(new View.OnClickListener() { |
454 | 454 | @Override |
455 | 455 | public void onClick(View v) { |
456 | 456 | final String destinationPath = mDestinationView.getText().toString().trim(); |
457 | | - if (destinationPath.equals(getResources().getString(R.string.smtfp_select_destination))) { |
| 457 | + if (destinationPath.equals(getResources().getString(R.string.select_destination))) { |
458 | 458 | Utils.showToast(getContext(), R.string.please_select_destination); |
459 | 459 | return; |
460 | 460 | } |
|
0 commit comments