31 lines
1.8 KiB
Java
31 lines
1.8 KiB
Java
package com.discord.widgets.channels;
|
|
|
|
import com.discord.api.channel.Channel;
|
|
import com.discord.models.member.GuildMember;
|
|
import com.discord.stores.StoreUserSettings;
|
|
import com.discord.widgets.channels.WidgetChannelTopicViewModel;
|
|
import j0.k.b;
|
|
import java.util.Map;
|
|
/* compiled from: WidgetChannelTopicViewModel.kt */
|
|
public final class WidgetChannelTopicViewModel$Companion$mapChannelToPrivateStoreState$1<T, R> implements b<Map<Long, ? extends Map<Long, ? extends GuildMember>>, WidgetChannelTopicViewModel.StoreState> {
|
|
public final /* synthetic */ Channel $channel;
|
|
public final /* synthetic */ WidgetChannelTopicViewModel.Companion.NavState $navState;
|
|
public final /* synthetic */ StoreUserSettings $storeUserSettings;
|
|
|
|
public WidgetChannelTopicViewModel$Companion$mapChannelToPrivateStoreState$1(Channel channel, StoreUserSettings storeUserSettings, WidgetChannelTopicViewModel.Companion.NavState navState) {
|
|
this.$channel = channel;
|
|
this.$storeUserSettings = storeUserSettings;
|
|
this.$navState = navState;
|
|
}
|
|
|
|
public final WidgetChannelTopicViewModel.StoreState call(Map<Long, ? extends Map<Long, GuildMember>> map) {
|
|
return new WidgetChannelTopicViewModel.StoreState.DM(this.$channel, map.values(), this.$storeUserSettings.getIsDeveloperMode(), this.$navState.isRightPanelOpened(), this.$navState.isOnHomeTab());
|
|
}
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
@Override // j0.k.b
|
|
public /* bridge */ /* synthetic */ WidgetChannelTopicViewModel.StoreState call(Map<Long, ? extends Map<Long, ? extends GuildMember>> map) {
|
|
return call((Map<Long, ? extends Map<Long, GuildMember>>) map);
|
|
}
|
|
}
|