2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.tabs;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import androidx.core.view.OnApplyWindowInsetsListener;
|
|
|
|
import androidx.core.view.WindowInsetsCompat;
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
/* compiled from: WidgetTabsHost.kt */
|
|
|
|
public final class WidgetTabsHost$setPanelWindowInsetsListeners$4 implements OnApplyWindowInsetsListener {
|
|
|
|
public static final WidgetTabsHost$setPanelWindowInsetsListeners$4 INSTANCE = new WidgetTabsHost$setPanelWindowInsetsListeners$4();
|
|
|
|
|
|
|
|
@Override // androidx.core.view.OnApplyWindowInsetsListener
|
|
|
|
public final WindowInsetsCompat onApplyWindowInsets(View view, WindowInsetsCompat windowInsetsCompat) {
|
|
|
|
m.checkNotNullExpressionValue(view, "v");
|
|
|
|
m.checkNotNullExpressionValue(windowInsetsCompat, "insets");
|
|
|
|
view.setPadding(view.getPaddingLeft(), view.getPaddingTop(), view.getPaddingRight(), windowInsetsCompat.getSystemWindowInsetBottom());
|
|
|
|
return windowInsetsCompat.consumeSystemWindowInsets();
|
|
|
|
}
|
|
|
|
}
|