forked from Juby210/discord-jadx
29 lines
1.3 KiB
Java
29 lines
1.3 KiB
Java
|
package com.discord.widgets.guilds.invite;
|
||
|
|
||
|
import android.view.View;
|
||
|
import com.discord.utilities.view.extensions.ViewExtensions;
|
||
|
import com.google.android.material.bottomsheet.BottomSheetBehavior;
|
||
|
import d0.z.d.m;
|
||
|
/* compiled from: WidgetGuildInviteShareCompact.kt */
|
||
|
public final class WidgetGuildInviteShareCompact$initBottomSheetBehavior$1 extends BottomSheetBehavior.BottomSheetCallback {
|
||
|
public final /* synthetic */ WidgetGuildInviteShareCompact this$0;
|
||
|
|
||
|
public WidgetGuildInviteShareCompact$initBottomSheetBehavior$1(WidgetGuildInviteShareCompact widgetGuildInviteShareCompact) {
|
||
|
this.this$0 = widgetGuildInviteShareCompact;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.material.bottomsheet.BottomSheetBehavior.BottomSheetCallback
|
||
|
public void onSlide(View view, float f) {
|
||
|
m.checkNotNullParameter(view, "bottomSheet");
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.material.bottomsheet.BottomSheetBehavior.BottomSheetCallback
|
||
|
public void onStateChanged(View view, int i) {
|
||
|
m.checkNotNullParameter(view, "bottomSheet");
|
||
|
if (i == 5) {
|
||
|
WidgetGuildInviteShareCompact.access$getViewModel$p(this.this$0).refreshUi();
|
||
|
}
|
||
|
ViewExtensions.fadeBy$default(WidgetGuildInviteShareCompact.access$getBinding$p(this.this$0).b, i != 5, 0, 2, null);
|
||
|
}
|
||
|
}
|