Fix generic compile

pull/1020/head
Alex Baker 4 years ago
parent 9bf15c1490
commit 1fa3c73365

@ -12,13 +12,13 @@ import org.tasks.location.PlaceSearchProvider
class LocationModule { class LocationModule {
@Provides @Provides
@ActivityScope @ActivityScope
fun getPlaceSearchProvider(@ForApplication context: Context): PlaceSearchProvider { fun getPlaceSearchProvider(@ApplicationContext context: Context): PlaceSearchProvider {
return MapboxSearchProvider(context) return MapboxSearchProvider(context)
} }
@Provides @Provides
@ActivityScope @ActivityScope
fun getMapFragment(@ForApplication context: Context): MapFragment { fun getMapFragment(@ApplicationContext context: Context): MapFragment {
return MapboxMapFragment(context) return MapboxMapFragment(context)
} }
} }
Loading…
Cancel
Save