|
@ -940,6 +940,7 @@ public class UploadActivity extends BaseActivity { |
|
|
String retrievedCourse = maybeCourse.replaceAll("-", "").replace("(ΝΠΣ)", "").trim(); |
|
|
String retrievedCourse = maybeCourse.replaceAll("-", "").replace("(ΝΠΣ)", "").trim(); |
|
|
String retrievedSemester = maybeSemester.replaceAll("-", "").trim().substring(0, 1); |
|
|
String retrievedSemester = maybeSemester.replaceAll("-", "").trim().substring(0, 1); |
|
|
|
|
|
|
|
|
|
|
|
if(!retrievedCourse.isEmpty()){ |
|
|
UploadsCourse foundUploadsCourse = UploadsCourse.findCourse(retrievedCourse, uploadsCourses); |
|
|
UploadsCourse foundUploadsCourse = UploadsCourse.findCourse(retrievedCourse, uploadsCourses); |
|
|
|
|
|
|
|
|
if(foundUploadsCourse != null){ |
|
|
if(foundUploadsCourse != null){ |
|
@ -949,6 +950,7 @@ public class UploadActivity extends BaseActivity { |
|
|
titleDescriptionBuilderButton.setEnabled(true); |
|
|
titleDescriptionBuilderButton.setEnabled(true); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
titleDescriptionBuilderButton.setEnabled(false); |
|
|
titleDescriptionBuilderButton.setEnabled(false); |
|
|
} |
|
|
} |
|
|