mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Moved blocked senders button to receive settings
This commit is contained in:
@@ -63,7 +63,6 @@ public class FragmentOptionsSend extends FragmentBase implements SharedPreferenc
|
||||
private SwitchCompat swSuggestReceived;
|
||||
private SwitchCompat swSuggestFrequently;
|
||||
private Button btnLocalContacts;
|
||||
private Button btnBlockedSenders;
|
||||
private SwitchCompat swAutoIdentity;
|
||||
private SwitchCompat swSendChips;
|
||||
private SwitchCompat swSendReminders;
|
||||
@@ -142,7 +141,6 @@ public class FragmentOptionsSend extends FragmentBase implements SharedPreferenc
|
||||
swSuggestReceived = view.findViewById(R.id.swSuggestReceived);
|
||||
swSuggestFrequently = view.findViewById(R.id.swSuggestFrequently);
|
||||
btnLocalContacts = view.findViewById(R.id.btnLocalContacts);
|
||||
btnBlockedSenders = view.findViewById(R.id.btnBlockedSenders);
|
||||
swAutoIdentity = view.findViewById(R.id.swAutoIdentity);
|
||||
swSendChips = view.findViewById(R.id.swSendChips);
|
||||
swSendReminders = view.findViewById(R.id.swSendReminders);
|
||||
@@ -266,15 +264,6 @@ public class FragmentOptionsSend extends FragmentBase implements SharedPreferenc
|
||||
}
|
||||
});
|
||||
|
||||
btnBlockedSenders.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(getContext());
|
||||
lbm.sendBroadcast(new Intent(ActivitySetup.ACTION_MANAGE_LOCAL_CONTACTS)
|
||||
.putExtra("junk", true));
|
||||
}
|
||||
});
|
||||
|
||||
swAutoIdentity.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
|
||||
Reference in New Issue
Block a user