package com.sistemasolton.itranvias.home.domain.usecase;

import com.sistemasolton.itranvias.home.domain.repository.StopHistoryRepository;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt;
import kotlin.jvm.internal.Intrinsics;

/* JADX INFO: compiled from: ClearStopHistoryUseCase.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0002\b\u0007\u0018\u00002\u00020\u0001B\u000f\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0004\b\u0004\u0010\u0005J\u000e\u0010\u0006\u001a\u00020\u0007H\u0086B¢\u0006\u0002\u0010\bR\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\t"}, d2 = {"Lcom/sistemasolton/itranvias/home/domain/usecase/ClearStopHistoryUseCase;", "", "repository", "Lcom/sistemasolton/itranvias/home/domain/repository/StopHistoryRepository;", "<init>", "(Lcom/sistemasolton/itranvias/home/domain/repository/StopHistoryRepository;)V", "invoke", "", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
public final class ClearStopHistoryUseCase {
    public static final int $stable = 8;
    private final StopHistoryRepository repository;

    public ClearStopHistoryUseCase(StopHistoryRepository repository) {
        Intrinsics.checkNotNullParameter(repository, "repository");
        this.repository = repository;
    }

    public final Object invoke(Continuation<? super Unit> continuation) {
        Object objClearHistory = this.repository.clearHistory(continuation);
        return objClearHistory == IntrinsicsKt.getCOROUTINE_SUSPENDED() ? objClearHistory : Unit.INSTANCE;
    }
}