mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-04 22:40:32 +00:00
Enabled suggest/received by default
This commit is contained in:
parent
7f282c3c83
commit
7e44ee002d
4 changed files with 7 additions and 7 deletions
|
@ -120,7 +120,7 @@ public class EntityContact implements Serializable {
|
|||
return;
|
||||
|
||||
boolean suggest_sent = prefs.getBoolean("suggest_sent", true);
|
||||
boolean suggest_received = prefs.getBoolean("suggest_received", false);
|
||||
boolean suggest_received = prefs.getBoolean("suggest_received", true);
|
||||
|
||||
// Shortcut
|
||||
if (!suggest_sent && !suggest_received)
|
||||
|
|
|
@ -452,7 +452,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
final boolean keyboard_no_fullscreen = prefs.getBoolean("keyboard_no_fullscreen", false);
|
||||
final boolean suggest_names = prefs.getBoolean("suggest_names", true);
|
||||
final boolean suggest_sent = prefs.getBoolean("suggest_sent", true);
|
||||
final boolean suggest_received = prefs.getBoolean("suggest_received", false);
|
||||
final boolean suggest_received = prefs.getBoolean("suggest_received", true);
|
||||
final boolean suggest_frequently = prefs.getBoolean("suggest_frequently", false);
|
||||
final boolean suggest_account = prefs.getBoolean("suggest_account", false);
|
||||
final boolean cc_bcc = prefs.getBoolean("cc_bcc", false);
|
||||
|
@ -1447,7 +1447,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean auto_identity = prefs.getBoolean("auto_identity", false);
|
||||
boolean suggest_sent = prefs.getBoolean("suggest_sent", true);
|
||||
boolean suggest_received = prefs.getBoolean("suggest_received", false);
|
||||
boolean suggest_received = prefs.getBoolean("suggest_received", true);
|
||||
|
||||
if (!auto_identity)
|
||||
return null;
|
||||
|
@ -5561,7 +5561,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
boolean save_drafts = prefs.getBoolean("save_drafts", perform_expunge);
|
||||
boolean auto_identity = prefs.getBoolean("auto_identity", false);
|
||||
boolean suggest_sent = prefs.getBoolean("suggest_sent", true);
|
||||
boolean suggest_received = prefs.getBoolean("suggest_received", false);
|
||||
boolean suggest_received = prefs.getBoolean("suggest_received", true);
|
||||
boolean forward_new = prefs.getBoolean("forward_new", false);
|
||||
boolean markdown = prefs.getBoolean("markdown", false);
|
||||
|
||||
|
|
|
@ -373,7 +373,7 @@ public class FragmentDialogSelectFolder extends FragmentDialogBase {
|
|||
List<EntityFolder> favorites = new ArrayList<>();
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean suggest_received = prefs.getBoolean("suggest_received", false);
|
||||
boolean suggest_received = prefs.getBoolean("suggest_received", true);
|
||||
|
||||
DB db = DB.getInstance(context);
|
||||
|
||||
|
|
|
@ -141,7 +141,7 @@ public class FragmentOptionsSend extends FragmentBase implements SharedPreferenc
|
|||
|
||||
final static List<String> RESET_OPTIONS = Collections.unmodifiableList(Arrays.asList(
|
||||
"keyboard", "keyboard_no_fullscreen",
|
||||
"suggest_names", "suggest_sent", "suggested_received", "suggest_frequently", "suggest_account", "auto_identity",
|
||||
"suggest_names", "suggest_sent", "suggest_received", "suggest_frequently", "suggest_account", "auto_identity",
|
||||
"purge_contact_age", "purge_contact_freq",
|
||||
"send_reminders", "send_chips", "send_nav_color", "send_pending",
|
||||
"save_revisions", "auto_save_paragraph", "auto_save_dot", "discard_delete",
|
||||
|
@ -991,7 +991,7 @@ public class FragmentOptionsSend extends FragmentBase implements SharedPreferenc
|
|||
swKeyboardNoFullscreen.setChecked(prefs.getBoolean("keyboard_no_fullscreen", false));
|
||||
swSuggestNames.setChecked(prefs.getBoolean("suggest_names", true));
|
||||
swSuggestSent.setChecked(prefs.getBoolean("suggest_sent", true));
|
||||
swSuggestReceived.setChecked(prefs.getBoolean("suggest_received", false));
|
||||
swSuggestReceived.setChecked(prefs.getBoolean("suggest_received", true));
|
||||
swSuggestFrequently.setChecked(prefs.getBoolean("suggest_frequently", false));
|
||||
swSuggestFrequently.setEnabled(swSuggestSent.isChecked() || swSuggestReceived.isChecked());
|
||||
swSuggestAccount.setChecked(prefs.getBoolean("suggest_account", false));
|
||||
|
|
Loading…
Reference in a new issue