2021-08-03 07:33:18 +00:00
package com.discord.widgets.home ;
import android.content.Context ;
import android.view.View ;
import com.discord.api.channel.Channel ;
2021-10-08 22:11:56 +00:00
import com.discord.api.channel.ChannelUtils ;
2021-08-03 07:33:18 +00:00
import com.discord.widgets.channels.threads.browser.WidgetThreadBrowser ;
/* compiled from: WidgetHomeHeaderManager.kt */
public final class WidgetHomeHeaderManager$configureThreadBrowserIconBehavior$1 implements View . OnClickListener {
public final /* synthetic */ Channel $channel ;
public final /* synthetic */ Context $context ;
public WidgetHomeHeaderManager$configureThreadBrowserIconBehavior$1 ( Context context , Channel channel ) {
this . $context = context ;
this . $channel = channel ;
}
@Override // android.view.View.OnClickListener
public final void onClick ( View view ) {
2021-10-20 06:51:20 +00:00
WidgetThreadBrowser . Companion . show ( this . $context , this . $channel . f ( ) , ChannelUtils . C ( this . $channel ) ? this . $channel . r ( ) : this . $channel . h ( ) , " Chat List Header " ) ;
2021-08-03 07:33:18 +00:00
}
}