2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.settings;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import android.widget.LinearLayout;
|
|
|
|
import android.widget.TextView;
|
|
|
|
import androidx.coordinatorlayout.widget.CoordinatorLayout;
|
2021-08-09 22:51:56 +00:00
|
|
|
import com.discord.R;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.databinding.WidgetSettingsPrivacyBinding;
|
|
|
|
import com.discord.utilities.dimmer.DimmerView;
|
|
|
|
import com.discord.views.CheckedSetting;
|
|
|
|
import com.google.android.material.button.MaterialButton;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.k;
|
|
|
|
import d0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetSettingsPrivacy.kt */
|
2022-03-07 09:34:54 +00:00
|
|
|
/* loaded from: classes2.dex */
|
2021-08-03 07:33:18 +00:00
|
|
|
public final /* synthetic */ class WidgetSettingsPrivacy$binding$2 extends k implements Function1<View, WidgetSettingsPrivacyBinding> {
|
|
|
|
public static final WidgetSettingsPrivacy$binding$2 INSTANCE = new WidgetSettingsPrivacy$binding$2();
|
|
|
|
|
|
|
|
public WidgetSettingsPrivacy$binding$2() {
|
|
|
|
super(1, WidgetSettingsPrivacyBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetSettingsPrivacyBinding;", 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final WidgetSettingsPrivacyBinding invoke(View view) {
|
|
|
|
m.checkNotNullParameter(view, "p1");
|
2021-08-09 22:51:56 +00:00
|
|
|
int i = R.id.contact_sync_setting_email;
|
|
|
|
CheckedSetting checkedSetting = (CheckedSetting) view.findViewById(R.id.contact_sync_setting_email);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.contact_sync_setting_enabled;
|
|
|
|
CheckedSetting checkedSetting2 = (CheckedSetting) view.findViewById(R.id.contact_sync_setting_enabled);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.contact_sync_setting_info;
|
|
|
|
TextView textView = (TextView) view.findViewById(R.id.contact_sync_setting_info);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.contact_sync_setting_phone;
|
|
|
|
CheckedSetting checkedSetting3 = (CheckedSetting) view.findViewById(R.id.contact_sync_setting_phone);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting3 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.contact_sync_setting_staff_only;
|
|
|
|
CheckedSetting checkedSetting4 = (CheckedSetting) view.findViewById(R.id.contact_sync_setting_staff_only);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting4 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.dimmer_view;
|
|
|
|
DimmerView dimmerView = (DimmerView) view.findViewById(R.id.dimmer_view);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (dimmerView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.request_data_link;
|
|
|
|
TextView textView2 = (TextView) view.findViewById(R.id.request_data_link);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_basic_service;
|
|
|
|
CheckedSetting checkedSetting5 = (CheckedSetting) view.findViewById(R.id.settings_privacy_basic_service);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting5 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_contact_sync;
|
|
|
|
LinearLayout linearLayout = (LinearLayout) view.findViewById(R.id.settings_privacy_contact_sync);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (linearLayout != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_contact_sync_title;
|
|
|
|
TextView textView3 = (TextView) view.findViewById(R.id.settings_privacy_contact_sync_title);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView3 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_controls;
|
|
|
|
LinearLayout linearLayout2 = (LinearLayout) view.findViewById(R.id.settings_privacy_controls);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (linearLayout2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_data_header;
|
|
|
|
TextView textView4 = (TextView) view.findViewById(R.id.settings_privacy_data_header);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView4 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_default_restricted_guilds;
|
|
|
|
CheckedSetting checkedSetting6 = (CheckedSetting) view.findViewById(R.id.settings_privacy_default_restricted_guilds);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting6 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_defaults_header;
|
|
|
|
TextView textView5 = (TextView) view.findViewById(R.id.settings_privacy_defaults_header);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView5 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_explicit_0;
|
|
|
|
CheckedSetting checkedSetting7 = (CheckedSetting) view.findViewById(R.id.settings_privacy_explicit_0);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting7 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_explicit_1;
|
|
|
|
CheckedSetting checkedSetting8 = (CheckedSetting) view.findViewById(R.id.settings_privacy_explicit_1);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting8 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_explicit_2;
|
|
|
|
CheckedSetting checkedSetting9 = (CheckedSetting) view.findViewById(R.id.settings_privacy_explicit_2);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting9 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_friend_source_0;
|
|
|
|
CheckedSetting checkedSetting10 = (CheckedSetting) view.findViewById(R.id.settings_privacy_friend_source_0);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting10 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_friend_source_1;
|
|
|
|
CheckedSetting checkedSetting11 = (CheckedSetting) view.findViewById(R.id.settings_privacy_friend_source_1);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting11 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_friend_source_2;
|
|
|
|
CheckedSetting checkedSetting12 = (CheckedSetting) view.findViewById(R.id.settings_privacy_friend_source_2);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting12 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_friend_source_header;
|
|
|
|
TextView textView6 = (TextView) view.findViewById(R.id.settings_privacy_friend_source_header);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView6 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_personalization;
|
|
|
|
CheckedSetting checkedSetting13 = (CheckedSetting) view.findViewById(R.id.settings_privacy_personalization);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting13 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_request_data;
|
|
|
|
MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.settings_privacy_request_data);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (materialButton != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_safe_messaging_header;
|
|
|
|
TextView textView7 = (TextView) view.findViewById(R.id.settings_privacy_safe_messaging_header);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView7 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_screenreader_detection;
|
|
|
|
CheckedSetting checkedSetting14 = (CheckedSetting) view.findViewById(R.id.settings_privacy_screenreader_detection);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting14 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.settings_privacy_statistics;
|
|
|
|
CheckedSetting checkedSetting15 = (CheckedSetting) view.findViewById(R.id.settings_privacy_statistics);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting15 != null) {
|
|
|
|
return new WidgetSettingsPrivacyBinding((CoordinatorLayout) view, checkedSetting, checkedSetting2, textView, checkedSetting3, checkedSetting4, dimmerView, textView2, checkedSetting5, linearLayout, textView3, linearLayout2, textView4, checkedSetting6, textView5, checkedSetting7, checkedSetting8, checkedSetting9, checkedSetting10, checkedSetting11, checkedSetting12, textView6, checkedSetting13, materialButton, textView7, checkedSetting14, checkedSetting15);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
|
|
|
|
}
|
|
|
|
}
|