Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Moved creating cached preview items to didSelectAttachmentMethod #487

Merged

Conversation

bmourat
Copy link
Contributor

@bmourat bmourat commented Dec 11, 2017

During first clicking on the attachment in the feedback list, it is not displayed properly as the condition below is not true, and we cannot set current preview index properly:

if (self.cachedPreviewItems.count > [self.cachedPreviewItems indexOfObject:attachment]) {
    [previewController setCurrentPreviewItemIndex:[self.cachedPreviewItems indexOfObject:attachment]];
}

@ElektrojungeAtWork ElektrojungeAtWork merged commit b53a1f2 into bitstadium:release/5.1.0 Dec 11, 2017
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.

2 participants