mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Added info button
This commit is contained in:
@@ -58,6 +58,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
|
||||
private ImageView ivChannelDefault;
|
||||
private Button btnManageService;
|
||||
private ImageView ivChannelService;
|
||||
private ImageButton ibWhy;
|
||||
private SwitchCompat swNewestFirst;
|
||||
private SwitchCompat swBackground;
|
||||
|
||||
@@ -129,6 +130,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
|
||||
ivChannelDefault = view.findViewById(R.id.ivChannelDefault);
|
||||
btnManageService = view.findViewById(R.id.btnManageService);
|
||||
ivChannelService = view.findViewById(R.id.ivChannelService);
|
||||
ibWhy = view.findViewById(R.id.ibWhy);
|
||||
swNewestFirst = view.findViewById(R.id.swNewestFirst);
|
||||
swBackground = view.findViewById(R.id.swBackground);
|
||||
|
||||
@@ -218,6 +220,13 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
|
||||
|
||||
ivChannelService.setVisibility(View.GONE);
|
||||
|
||||
ibWhy.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Helper.viewFAQ(v.getContext(), 2);
|
||||
}
|
||||
});
|
||||
|
||||
swNewestFirst.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
|
||||
Reference in New Issue
Block a user