feat(mail): Add a setting to show the attachments above the mail body

This commit is contained in:
Hivert Quentin
2025-09-19 15:30:45 +02:00
parent a077512e34
commit 5d616600df
9 changed files with 39 additions and 6 deletions

View File

@@ -429,6 +429,9 @@ static SoProduct *preferencesProduct = nil;
if (![[defaults source] objectForKey: @"SOGoMailDisplayRemoteInlineImages"])
[[defaults source] setObject: [defaults mailDisplayRemoteInlineImages] forKey: @"SOGoMailDisplayRemoteInlineImages"];
if (![[defaults source] objectForKey: @"SOGoMailDisplayAttachmentAbove"])
[[defaults source] setObject: [defaults mailDisplayAttachmentAbove] forKey: @"SOGoMailDisplayAttachmentAbove"];
if ([[defaults source] objectForKey: @"SOGoMailAutoMarkAsReadDelay"] == nil)
[[defaults source] setObject: [NSNumber numberWithInt: [defaults mailAutoMarkAsReadDelay]] forKey: @"SOGoMailAutoMarkAsReadDelay"];