Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update actions bar #781

Merged
merged 2 commits into from
Jun 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Mail/Helpers/RichTextEditor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class MailEditorView: SQTextEditorView {
}

public func getToolbar() -> UIToolbar {
let newToolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: 320, height: 55))
let newToolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: 320, height: 48))
newToolbar.tintColor = MailResourcesAsset.textSecondaryColor.color
newToolbar.barTintColor = MailResourcesAsset.backgroundSecondaryColor.color
newToolbar.isTranslucent = false
Expand Down Expand Up @@ -351,7 +351,7 @@ enum ToolbarAction: Int {
case .link:
return MailResourcesAsset.hyperlink.image
case .programMessage:
return MailResourcesAsset.clock.image
return MailResourcesAsset.waitingMessage.image
}
}

Expand Down
12 changes: 3 additions & 9 deletions MailResources/Assets.xcassets/hyperlink.imageset/hyperlink.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.