26 lines
1 KiB
Java
26 lines
1 KiB
Java
|
package com.discord.stores;
|
||
|
|
||
|
import com.discord.models.domain.spotify.ModelSpotifyTrack;
|
||
|
import j0.k.b;
|
||
|
import j0.l.e.j;
|
||
|
import java.util.concurrent.TimeUnit;
|
||
|
import rx.Observable;
|
||
|
/* compiled from: StoreSpotify.kt */
|
||
|
public final class StoreSpotify$init$1<T, R> implements b<ModelSpotifyTrack, Observable<? extends ModelSpotifyTrack>> {
|
||
|
public static final StoreSpotify$init$1 INSTANCE = new StoreSpotify$init$1();
|
||
|
|
||
|
/* compiled from: StoreSpotify.kt */
|
||
|
/* renamed from: com.discord.stores.StoreSpotify$init$1$1 reason: invalid class name */
|
||
|
public static final class AnonymousClass1<T, R> implements b {
|
||
|
public static final AnonymousClass1 INSTANCE = new AnonymousClass1();
|
||
|
|
||
|
public final Void call(Long l) {
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final Observable<? extends ModelSpotifyTrack> call(ModelSpotifyTrack modelSpotifyTrack) {
|
||
|
return modelSpotifyTrack != null ? new j(modelSpotifyTrack) : Observable.e0(1, TimeUnit.SECONDS).G(AnonymousClass1.INSTANCE);
|
||
|
}
|
||
|
}
|