Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Feedback window minor bugs fixed #105

Merged
merged 5 commits into from
May 4, 2017

Conversation

bmourat
Copy link
Contributor

@bmourat bmourat commented Apr 12, 2017

Minor bugs fixed:
Bug with recycling images in tableview cells
Bug with attachment list not being cleared after sending message

@msftclas
Copy link

@bmourat,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


// Since we are mutating array we need to go backwards
for(NSView *subview in [self.subviews reverseObjectEnumerator]){
if([subview isKindOfClass:[BITActivityIndicatorButton class]]){
Copy link
Member

Choose a reason for hiding this comment

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

I think there are a couple of spaces missing here? 🙂

@@ -353,8 +353,10 @@ - (BOOL)canSendMessage {
}

- (IBAction)sendMessage:(id)sender {
[self.manager submitMessageWithText:[self.messageText string] andAttachments:self.attachments];
[self.manager submitMessageWithText:[self.messageText string] andAttachments:[[NSArray alloc] initWithArray:self.attachments]];
Copy link
Member

Choose a reason for hiding this comment

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

If you want, a small syntax improvement could be to use [NSArray arrayWithArray:self.attachments]; instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks :)

@@ -211,6 +212,15 @@ - (void)drawRect:(NSRect)dirtyRect {
[super drawRect:dirtyRect];
}

- (void)clearAllImageViews{

// Since we are mutating array we need to go backwards
Copy link
Contributor

@ElektrojungeAtWork ElektrojungeAtWork Apr 12, 2017

Choose a reason for hiding this comment

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

a)mutating THE array -> full English sentences, please.
b) which array? Please be specific.

Copy link
Contributor

@ElektrojungeAtWork ElektrojungeAtWork left a comment

Choose a reason for hiding this comment

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

Some minor comments. Otherwise looking good!

@ElektrojungeAtWork ElektrojungeAtWork merged commit e310651 into bitstadium:develop May 4, 2017
@bmourat bmourat deleted the fix-feedback-window branch June 29, 2017 09:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants