19 lines
1 KiB
Java
19 lines
1 KiB
Java
package com.discord.widgets.servers;
|
|
|
|
import com.discord.models.domain.ModelNotificationSettings;
|
|
import com.discord.models.guild.Guild;
|
|
import com.discord.stores.StoreGuildProfiles;
|
|
import com.discord.widgets.servers.WidgetServerNotifications;
|
|
import rx.functions.Func3;
|
|
/* compiled from: WidgetServerNotifications.kt */
|
|
public final class WidgetServerNotifications$Model$Companion$get$1<T1, T2, T3, R> implements Func3<Guild, ModelNotificationSettings, StoreGuildProfiles.GuildProfileData, WidgetServerNotifications.Model> {
|
|
public static final WidgetServerNotifications$Model$Companion$get$1 INSTANCE = new WidgetServerNotifications$Model$Companion$get$1();
|
|
|
|
public final WidgetServerNotifications.Model call(Guild guild, ModelNotificationSettings modelNotificationSettings, StoreGuildProfiles.GuildProfileData guildProfileData) {
|
|
if (guild == null || modelNotificationSettings == null) {
|
|
return null;
|
|
}
|
|
return new WidgetServerNotifications.Model(guild, modelNotificationSettings, guildProfileData);
|
|
}
|
|
}
|