Shed some light

This commit is contained in:
M66B
2021-01-09 16:30:52 +01:00
parent 800a4517e8
commit 9296b25704
4 changed files with 35 additions and 7 deletions

View File

@@ -87,6 +87,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
private SwitchCompat swNotifyPreview;
private SwitchCompat swNotifyPreviewAll;
private SwitchCompat swNotifyPreviewOnly;
private ImageButton ibLight;
private SwitchCompat swWearablePreview;
private ImageButton ibWearable;
private SwitchCompat swMessagingStyle;
@@ -156,6 +157,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
swNotifyPreview = view.findViewById(R.id.swNotifyPreview);
swNotifyPreviewAll = view.findViewById(R.id.swNotifyPreviewAll);
swNotifyPreviewOnly = view.findViewById(R.id.swNotifyPreviewOnly);
ibLight = view.findViewById(R.id.ibLight);
swWearablePreview = view.findViewById(R.id.swWearablePreview);
ibWearable = view.findViewById(R.id.ibWearable);
swMessagingStyle = view.findViewById(R.id.swMessagingStyle);
@@ -399,6 +401,13 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
}
});
ibLight.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.viewFAQ(v.getContext(), 21);
}
});
swWearablePreview.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {