|
|
|
@ -38,7 +38,7 @@ public class ImportTasksDialog extends InjectingNativeDialogFragment {
|
|
|
|
progressDialog.setIndeterminate(true);
|
|
|
|
progressDialog.setIndeterminate(true);
|
|
|
|
progressDialog.show();
|
|
|
|
progressDialog.show();
|
|
|
|
setCancelable(false);
|
|
|
|
setCancelable(false);
|
|
|
|
if (path.endsWith("\\.xml")) {
|
|
|
|
if (path.endsWith(".xml")) {
|
|
|
|
xmlImporter.importTasks(getActivity(), path, progressDialog);
|
|
|
|
xmlImporter.importTasks(getActivity(), path, progressDialog);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
jsonImporter.importTasks(getActivity(), path, progressDialog);
|
|
|
|
jsonImporter.importTasks(getActivity(), path, progressDialog);
|
|
|
|
|