We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Step 1 - enable delete button: LightboxConfig.DeleteButton.enabled = true
LightboxConfig.DeleteButton.enabled = true
Step 2 - Delete:
Crash on: let pageView = pageViews[i] in:
let pageView = pageViews[i]
func reconfigurePagesForPreload() { let preloadIndicies = calculatePreloadIndicies() for i in 0..<initialImages.count { let pageView = pageViews[i] if preloadIndicies.contains(i) { if type(of: pageView.image) == LightboxImageStub.self { pageView.update(with: initialImages[i]) } } else { if type(of: pageView.image) != LightboxImageStub.self { pageView.update(with: LightboxImageStub()) } }
}
The text was updated successfully, but these errors were encountered:
Fixed by adding the following line: self.initialImages.remove(at: prevIndex)
self.initialImages.remove(at: prevIndex)
to func headerView(_ headerView: HeaderView, didPressDeleteButton deleteButton: UIButton) {
noting the above function is also lacking a delegate
Sorry, something went wrong.
This fix is already in this pull request - #265 I think the repo maintainer just have to release new version.
Ok! New version coming
No branches or pull requests
Step 1 - enable delete button:
LightboxConfig.DeleteButton.enabled = true
Step 2 - Delete:
Crash on:
let pageView = pageViews[i]
in:
}
The text was updated successfully, but these errors were encountered: