17 lines
699 B
Java
17 lines
699 B
Java
package com.discord.widgets.settings;
|
|
|
|
import com.discord.stores.StoreNotifications;
|
|
import com.discord.stores.StoreStream;
|
|
import d0.z.d.m;
|
|
import rx.functions.Action1;
|
|
/* compiled from: WidgetSettingsNotificationsOs.kt */
|
|
public final class WidgetSettingsNotificationsOs$onViewCreated$1<T> implements Action1<Boolean> {
|
|
public static final WidgetSettingsNotificationsOs$onViewCreated$1 INSTANCE = new WidgetSettingsNotificationsOs$onViewCreated$1();
|
|
|
|
public final void call(Boolean bool) {
|
|
StoreNotifications notifications = StoreStream.Companion.getNotifications();
|
|
m.checkNotNullExpressionValue(bool, "it");
|
|
notifications.setEnabled(bool.booleanValue());
|
|
}
|
|
}
|