From 1fa3c733656d1c104fca92b51c24cdab83dee41b Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Mon, 15 Jun 2020 11:25:27 -0500 Subject: [PATCH] Fix generic compile --- app/src/generic/java/org/tasks/injection/LocationModule.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/generic/java/org/tasks/injection/LocationModule.kt b/app/src/generic/java/org/tasks/injection/LocationModule.kt index 591a74cf1..ec2186688 100644 --- a/app/src/generic/java/org/tasks/injection/LocationModule.kt +++ b/app/src/generic/java/org/tasks/injection/LocationModule.kt @@ -12,13 +12,13 @@ import org.tasks.location.PlaceSearchProvider class LocationModule { @Provides @ActivityScope - fun getPlaceSearchProvider(@ForApplication context: Context): PlaceSearchProvider { + fun getPlaceSearchProvider(@ApplicationContext context: Context): PlaceSearchProvider { return MapboxSearchProvider(context) } @Provides @ActivityScope - fun getMapFragment(@ForApplication context: Context): MapFragment { + fun getMapFragment(@ApplicationContext context: Context): MapFragment { return MapboxMapFragment(context) } } \ No newline at end of file