diff --git a/enzevalos_iphone/Onboarding.swift b/enzevalos_iphone/Onboarding.swift index febc00e068fdaad45b79cf87cd1d156ad4f04ce1..31de2f57727d748580cea88493f32998155156bb 100644 --- a/enzevalos_iphone/Onboarding.swift +++ b/enzevalos_iphone/Onboarding.swift @@ -654,6 +654,20 @@ class Onboarding: NSObject { } else { UserManager.storeUserValue(0 as AnyObject?, attribute: Attribute.smtpAuthType) } + + if let drafts = provider.draftsFolderPath() { + UserManager.storeUserValue(drafts as AnyObject?, attribute: Attribute.draftFolderPath) + } + if let sent = provider.sentMailFolderPath() { + UserManager.storeUserValue(sent as AnyObject?, attribute: Attribute.sentFolderPath) + } + if let trash = provider.trashFolderPath() { + UserManager.storeUserValue(trash as AnyObject?, attribute: Attribute.trashFolderPath) + } + if let archive = provider.allMailFolderPath() { + UserManager.storeUserValue(archive as AnyObject?, attribute: Attribute.archiveFolderPath) + } + } }