Skip to content

Commit

Permalink
fix(preferences): don't save Sieve script if Mail module disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Feb 15, 2022
1 parent 0e20bbc commit 401a800
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UI/PreferencesUI/UIxPreferences.m
Original file line number Diff line number Diff line change
Expand Up @@ -1543,10 +1543,10 @@ - (NSString *) forwardEnabled
[v setObject: accounts forKey: @"AuxiliaryMailAccounts"];
}
}

[[[user userDefaults] source] setValues: v];
}

[[[user userDefaults] source] setValues: v];

if ([[user userDefaults] synchronize] && [self userHasMailAccess])
{
NSException *error;
Expand Down

0 comments on commit 401a800

Please sign in to comment.