From ba729cb2181e097a024f808e46bbcd24c56d0508 Mon Sep 17 00:00:00 2001 From: Ezerous Date: Thu, 4 Jul 2019 10:51:02 +0300 Subject: [PATCH] Fix for unsupported courses --- .../gr/thmmy/mthmmy/activities/upload/UploadsCourse.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/upload/UploadsCourse.java b/app/src/main/java/gr/thmmy/mthmmy/activities/upload/UploadsCourse.java index 8fe986c9..1a2f55ae 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/upload/UploadsCourse.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/upload/UploadsCourse.java @@ -59,8 +59,9 @@ class UploadsCourse { if(foundKey==null){ Timber.w("Couldn't find course that matches %s", retrievedCourse); Bundle bundle = new Bundle(); - bundle.putString("COURSE_NAME", retrievedCourse); - BaseApplication.getInstance().logFirebaseAnalyticsEvent("UNSUPPORTED_UPLOADS_COURSE", bundle); + bundle.putString("course_name", retrievedCourse); + BaseApplication.getInstance().logFirebaseAnalyticsEvent("unsupported_uploads_course", bundle); + return null; } return uploadsCourses.get(foundKey);