Browse Source

Fix for unsupported courses

pull/63/head
Ezerous 6 years ago
parent
commit
ba729cb218
  1. 5
      app/src/main/java/gr/thmmy/mthmmy/activities/upload/UploadsCourse.java

5
app/src/main/java/gr/thmmy/mthmmy/activities/upload/UploadsCourse.java

@ -59,8 +59,9 @@ class UploadsCourse {
if(foundKey==null){ if(foundKey==null){
Timber.w("Couldn't find course that matches %s", retrievedCourse); Timber.w("Couldn't find course that matches %s", retrievedCourse);
Bundle bundle = new Bundle(); Bundle bundle = new Bundle();
bundle.putString("COURSE_NAME", retrievedCourse); bundle.putString("course_name", retrievedCourse);
BaseApplication.getInstance().logFirebaseAnalyticsEvent("UNSUPPORTED_UPLOADS_COURSE", bundle); BaseApplication.getInstance().logFirebaseAnalyticsEvent("unsupported_uploads_course", bundle);
return null;
} }
return uploadsCourses.get(foundKey); return uploadsCourses.get(foundKey);

Loading…
Cancel
Save