Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

Conversation

@rafaelks
Copy link
Contributor

@RocketChat/ios

Closes #2323

simulator screen shot - iphone se - 2018-11-22 at 00 16 50
simulator screen shot - iphone se - 2018-11-22 at 00 16 48

@rafaelks rafaelks added this to the 3.2.0 milestone Nov 22, 2018
@rafaelks rafaelks requested a review from filipealva November 22, 2018 02:18
@codecov
Copy link

codecov bot commented Nov 22, 2018

Codecov Report

Merging #2341 into develop will decrease coverage by 0.11%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2341      +/-   ##
===========================================
- Coverage    26.36%   26.25%   -0.12%     
===========================================
  Files          440      440              
  Lines        16278    16349      +71     
===========================================
  Hits          4292     4292              
- Misses       11986    12057      +71
Impacted Files Coverage Δ
Rocket.Chat/Models/Message/UnmanagedMessage.swift 32.87% <ø> (ø) ⬆️
.../Chat/New Chat/ChatItems/FileMessageChatItem.swift 0% <0%> (ø) ⬆️
...at/Views/Chat/New Chat/Cells/BaseMessageCell.swift 0% <0%> (ø) ⬆️
...at/New Chat/ChatItems/TextAttachmentChatItem.swift 0% <0%> (ø) ⬆️
...Chat/New Chat/ChatItems/ImageMessageChatItem.swift 0% <0%> (ø) ⬆️
...Chat/New Chat/ChatItems/VideoMessageChatItem.swift 0% <0%> (ø) ⬆️
.../Chat/New Chat/ChatItems/BaseMessageChatItem.swift 0% <0%> (ø) ⬆️
...hat/New Chat/Cells/TextAttachmentMessageCell.swift 0% <0%> (ø) ⬆️
.../Views/Chat/New Chat/ChatItems/QuoteChatItem.swift 0% <0%> (ø) ⬆️
...ew Chat/ChatItems/BaseTextAttachmentChatItem.swift 0% <0%> (ø) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 118ee0b...ab70fe6. Read the comment docs.

@rafaelks rafaelks requested a review from cardoso November 22, 2018 15:44
avatar: message?.avatar,
emoji: message?.emoji,
alias: message?.alias,
date: message?.createdAt,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

}

init(user: UnmanagedUser?, avatar: String?, emoji: String?, date: Date?, isUnread: Bool = false) {
init(user: UnmanagedUser?, avatar: String?, emoji: String?, alias: String?, date: Date?, isUnread: Bool = false) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about doing the same thing here as you did in the other places?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! :-)

init(
identifier: String,
title: String?,
descriptionText: String?,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

super.init(
user: user,
avatar: message.avatar,
emoji: message.emoji,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


super.init(
user: user,
avatar: message?.avatar,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

init(
identifier: String,
fields: [UnmanagedField],
title: String,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

super.init(
collapsed: collapsed,
user: user,
avatar: message?.avatar,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

init(identifier: String, descriptionText: String?, videoURL: URL?, videoThumbPath: URL?, hasText: Bool, user: UnmanagedUser?, message: UnmanagedMessage?) {
init(
identifier: String,
descriptionText: String?,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


super.init(
user: user,
avatar: message?.avatar,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rafaelks rafaelks merged commit efb7431 into develop Nov 22, 2018
@rafaelks rafaelks deleted the chore/text_attachment_empty_title branch November 22, 2018 16:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants