mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-09 01:47:39 +01:00
Fixed compile error introduced in previous commit
This commit is contained in:
parent
732c7858d0
commit
241cdbe82e
@ -25,7 +25,7 @@ import dagger.Provides;
|
||||
|
||||
import javax.inject.Named;
|
||||
import javax.inject.Singleton;
|
||||
import java.util.function.Function;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
/**
|
||||
* Module for binding object instances found inside other systems.
|
||||
@ -50,7 +50,7 @@ public class SystemObjectProvidingModule {
|
||||
@Provides
|
||||
@Singleton
|
||||
@Named("isExtensionEnabled")
|
||||
Function<String, Boolean> provideExtensionEnabledConfigCheck(PlanConfig config) {
|
||||
Predicate<String> provideExtensionEnabledConfigCheck(PlanConfig config) {
|
||||
return config.getExtensionSettings()::isEnabled;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user