Skip to content

Commit

Permalink
refactor: MailCoreUI (#1400)
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinperignon authored Apr 26, 2024
2 parents debb130 + 02b20b1 commit 9057a20
Show file tree
Hide file tree
Showing 209 changed files with 1,013 additions and 600 deletions.
1 change: 1 addition & 0 deletions Mail/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import InfomaniakCore
import InfomaniakDI
import InfomaniakNotifications
import MailCore
import MailCoreUI
import UIKit

@available(iOSApplicationExtension, unavailable)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import InfomaniakCore
import MailCore
import MailCoreUI
import MailResources
import SwiftModalPresentation
import SwiftUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import MailCoreUI
import MailResources
import SwiftUI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import InfomaniakCoreUI
import InfomaniakDI
import MailCore
import MailCoreUI
import MailResources
import SwiftUI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/

import MailCore
import MailCoreUI
import MailResources
import SwiftUI

Expand Down
1 change: 1 addition & 0 deletions Mail/Components/MailboxListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/

import MailCore
import MailCoreUI
import MailResources
import RealmSwift
import SwiftUI
Expand Down
1 change: 1 addition & 0 deletions Mail/Components/ThreadCell/ThreadCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/

import MailCore
import MailCoreUI
import MailResources
import SwiftUI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/

import MailCore
import MailCoreUI
import SwiftUI

struct ThreadCellAvatarCheckboxView: View {
Expand Down
1 change: 1 addition & 0 deletions Mail/Components/ThreadCell/ThreadCellDetailsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/

import MailCore
import MailCoreUI
import MailResources
import SwiftUI

Expand Down
1 change: 1 addition & 0 deletions Mail/Helpers/MailTargetAssembly.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import InfomaniakDI
import InfomaniakLogin
import InfomaniakNotifications
import MailCore
import MailCoreUI

open class CommonAppAndShareTargetAssembly: TargetAssembly {
override open class func getTargetServices() -> [Factory] {
Expand Down
204 changes: 0 additions & 204 deletions Mail/Helpers/PreviewHelper.swift

This file was deleted.

1 change: 1 addition & 0 deletions Mail/Helpers/RichTextEditor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import InfomaniakCore
import InfomaniakCoreUI
import InfomaniakDI
import MailCore
import MailCoreUI
import MailResources
import SQRichTextEditor
import SwiftUI
Expand Down
1 change: 1 addition & 0 deletions Mail/Proxy/Implementation/OrientationLock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import Foundation
import InfomaniakCoreUI
import MailCoreUI
import UIKit

@available(iOSApplicationExtension, unavailable)
Expand Down
32 changes: 0 additions & 32 deletions Mail/Proxy/Protocols/OrientationManageable.swift

This file was deleted.

1 change: 1 addition & 0 deletions Mail/Utils/FloatingActionButtonModifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/

import MailCore
import MailCoreUI
import MailResources
import SwiftUI

Expand Down
1 change: 1 addition & 0 deletions Mail/Views/AI Writer/AIHeaderView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/

import MailCore
import MailCoreUI
import MailResources
import SwiftUI

Expand Down
1 change: 1 addition & 0 deletions Mail/Views/AI Writer/AIModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import Foundation
import InfomaniakCoreUI
import InfomaniakDI
import MailCore
import MailCoreUI
import MailResources
import SwiftModalPresentation
import SwiftUI
Expand Down
1 change: 1 addition & 0 deletions Mail/Views/AI Writer/Prompt/AIEngineOptionButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import InfomaniakCoreUI
import InfomaniakDI
import MailCore
import MailCoreUI
import MailResources
import SwiftUI

Expand Down
1 change: 1 addition & 0 deletions Mail/Views/AI Writer/Prompt/AIPromptView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import InfomaniakCoreUI
import InfomaniakDI
import MailCore
import MailCoreUI
import MailResources
import SwiftModalPresentation
import SwiftUI
Expand Down
1 change: 1 addition & 0 deletions Mail/Views/AI Writer/Prompt/PromptAIEngineOptionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import InfomaniakCoreUI
import InfomaniakDI
import MailCore
import MailCoreUI
import MailResources
import SwiftUI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import InfomaniakCoreUI
import InfomaniakDI
import MailCore
import MailCoreUI
import MailResources
import SwiftUI

Expand Down
1 change: 1 addition & 0 deletions Mail/Views/AI Writer/Proposition/AIPropositionMenu.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import InfomaniakCoreUI
import InfomaniakDI
import MailCore
import MailCoreUI
import MailResources
import SwiftUI

Expand Down
Loading

0 comments on commit 9057a20

Please sign in to comment.