Skip to content

Commit

Permalink
refactor: Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinperignon committed Jun 19, 2023
1 parent 175f6b5 commit a71f5a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion Mail/Views/New Message/AutocompletionCell.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//
/*
Infomaniak Mail - iOS App
Copyright (C) 2022 Infomaniak Network SA
Expand Down
4 changes: 2 additions & 2 deletions Mail/Views/New Message/ComposeMessageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ struct ComposeMessageView: View {
NavigationView {
ScrollView {
VStack(spacing: 0) {
ComposeMessageHeaderViewV2(draft: draft, focusedField: _focusedField, autocompletionType: $autocompletionType)
ComposeMessageHeaderView(draft: draft, focusedField: _focusedField, autocompletionType: $autocompletionType)

if autocompletionType == nil {
ComposeMessageBodyViewV2(
ComposeMessageBodyView(
draft: draft,
isLoadingContent: $isLoadingContent,
editorFocus: $editorFocus,
Expand Down

0 comments on commit a71f5a6

Please sign in to comment.