// Generated by Dagger (https://dagger.dev).
package co.edu.udistrital.espingsw.huellitaspelitos.di;

import android.content.SharedPreferences;
import co.edu.udistrital.espingsw.huellitaspelitos.data.datasource.local.SetUserIdDataSource;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;

@ScopeMetadata("javax.inject.Singleton")
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes"
})
public final class LocalDataSourceModule_SetUserIdDataSourceProviderFactory implements Factory<SetUserIdDataSource> {
  private final Provider<SharedPreferences> sharedPreferencesProvider;

  public LocalDataSourceModule_SetUserIdDataSourceProviderFactory(
      Provider<SharedPreferences> sharedPreferencesProvider) {
    this.sharedPreferencesProvider = sharedPreferencesProvider;
  }

  @Override
  public SetUserIdDataSource get() {
    return setUserIdDataSourceProvider(sharedPreferencesProvider.get());
  }

  public static LocalDataSourceModule_SetUserIdDataSourceProviderFactory create(
      Provider<SharedPreferences> sharedPreferencesProvider) {
    return new LocalDataSourceModule_SetUserIdDataSourceProviderFactory(sharedPreferencesProvider);
  }

  public static SetUserIdDataSource setUserIdDataSourceProvider(
      SharedPreferences sharedPreferences) {
    return Preconditions.checkNotNullFromProvides(LocalDataSourceModule.INSTANCE.setUserIdDataSourceProvider(sharedPreferences));
  }
}
