-
Notifications
You must be signed in to change notification settings - Fork 5
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
Pin message video audio attachments #79
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also should we test this behavior?
@@ -108,6 +108,7 @@ | |||
private View composeDivider; | |||
private View scrollToBottomButton; | |||
private TextView scrollDateHeader; | |||
private int x =1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this being used anywhere? I can't find it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this has slipped
holder.documentViewStub.get().setVisibility(view.VISIBLE); | ||
} | ||
|
||
if (isAudio(record)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this one also be else if
?
holder.audioViewStub.get().setVisibility(view.VISIBLE); | ||
} | ||
|
||
else if (isVideo(record)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO this should be on the same line as the closing bracket.
https://github.com/signalapp/Signal-Android/search?utf8=%E2%9C%93&q=else+if&type=Code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting
same goes for try catch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Pin full functionality for normal conversations and group chat