forked from Juby210/discord-jadx
41 lines
2 KiB
Java
41 lines
2 KiB
Java
package com.discord.widgets.guilds.list;
|
|
|
|
import android.view.ViewGroup;
|
|
import android.view.ViewStub;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import java.util.Objects;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetGuildsList.kt */
|
|
public final class WidgetGuildsList$configureBottomNavSpace$1 extends o implements Function1<Integer, Unit> {
|
|
public final /* synthetic */ WidgetGuildsList this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetGuildsList$configureBottomNavSpace$1(WidgetGuildsList widgetGuildsList) {
|
|
super(1);
|
|
this.this$0 = widgetGuildsList;
|
|
}
|
|
|
|
/* 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 // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(Integer num) {
|
|
invoke(num.intValue());
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(int i) {
|
|
WidgetGuildsList.access$getAdapter$p(this.this$0).handleBottomNavHeight(i);
|
|
ViewStub viewStub = WidgetGuildsList.access$getBinding$p(this.this$0).f1924c;
|
|
m.checkNotNullExpressionValue(viewStub, "binding.guildListUnreadsStub");
|
|
ViewGroup.LayoutParams layoutParams = viewStub.getLayoutParams();
|
|
Objects.requireNonNull(layoutParams, "null cannot be cast to non-null type android.view.ViewGroup.MarginLayoutParams");
|
|
ViewGroup.MarginLayoutParams marginLayoutParams = (ViewGroup.MarginLayoutParams) layoutParams;
|
|
marginLayoutParams.setMargins(marginLayoutParams.leftMargin, marginLayoutParams.topMargin, marginLayoutParams.rightMargin, i);
|
|
ViewStub viewStub2 = WidgetGuildsList.access$getBinding$p(this.this$0).f1924c;
|
|
m.checkNotNullExpressionValue(viewStub2, "binding.guildListUnreadsStub");
|
|
viewStub2.setLayoutParams(marginLayoutParams);
|
|
}
|
|
}
|