mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 05:46:29 +03:00
Show non-deltachat emails by default for new installations
This commit is contained in:
@@ -49,7 +49,7 @@ pub enum ShowEmails {
|
||||
|
||||
impl Default for ShowEmails {
|
||||
fn default() -> Self {
|
||||
ShowEmails::Off // also change Config.ShowEmails props(default) on changes
|
||||
ShowEmails::All // also change Config.ShowEmails props(default) on changes
|
||||
}
|
||||
}
|
||||
|
||||
@@ -244,7 +244,7 @@ mod tests {
|
||||
#[test]
|
||||
fn test_showemails_values() {
|
||||
// values may be written to disk and must not change
|
||||
assert_eq!(ShowEmails::Off, ShowEmails::default());
|
||||
assert_eq!(ShowEmails::All, ShowEmails::default());
|
||||
assert_eq!(ShowEmails::Off, ShowEmails::from_i32(0).unwrap());
|
||||
assert_eq!(
|
||||
ShowEmails::AcceptedContacts,
|
||||
|
||||
Reference in New Issue
Block a user