19 lines
953 B
Java
19 lines
953 B
Java
|
package com.discord.widgets.chat.input;
|
||
|
|
||
|
import android.view.View;
|
||
|
import androidx.core.view.OnApplyWindowInsetsListener;
|
||
|
import androidx.core.view.WindowInsetsCompat;
|
||
|
import d0.z.d.m;
|
||
|
/* compiled from: WidgetChatInput.kt */
|
||
|
public final class WidgetChatInput$setWindowInsetsListeners$2 implements OnApplyWindowInsetsListener {
|
||
|
public static final WidgetChatInput$setWindowInsetsListeners$2 INSTANCE = new WidgetChatInput$setWindowInsetsListeners$2();
|
||
|
|
||
|
@Override // androidx.core.view.OnApplyWindowInsetsListener
|
||
|
public final WindowInsetsCompat onApplyWindowInsets(View view, WindowInsetsCompat windowInsetsCompat) {
|
||
|
m.checkNotNullParameter(view, "view");
|
||
|
m.checkNotNullParameter(windowInsetsCompat, "insets");
|
||
|
view.setPadding(view.getPaddingLeft(), view.getPaddingTop(), view.getPaddingRight(), windowInsetsCompat.getSystemWindowInsetBottom());
|
||
|
return windowInsetsCompat.consumeSystemWindowInsets();
|
||
|
}
|
||
|
}
|