package com.adif.elcanomovil.domain.usecases.filters;

import com.adif.elcanomovil.domain.repositories.filters.FiltersRepository;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\u0019\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\nH\u0086\u0002R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/domain/usecases/filters/SaveFilterUseCase;", "", "filtersRepository", "Lcom/adif/elcanomovil/domain/repositories/filters/FiltersRepository;", "(Lcom/adif/elcanomovil/domain/repositories/filters/FiltersRepository;)V", "invoke", "", "filterId", "", "isEnabled", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final class SaveFilterUseCase {
    private final FiltersRepository filtersRepository;

    public SaveFilterUseCase(FiltersRepository filtersRepository) {
        Intrinsics.checkNotNullParameter(filtersRepository, "filtersRepository");
        this.filtersRepository = filtersRepository;
    }

    public final void invoke(int filterId, boolean isEnabled) {
        this.filtersRepository.saveFilter(filterId, isEnabled);
    }
}
