mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Shed some light
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user