8000 MBL-2353: Fix off-by-one error in search results by amy-at-kickstarter · Pull Request #2392 · kickstarter/ios-oss · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MBL-2353: Fix off-by-one error in search results #2392

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

Merged
merged 2 commits into from
Apr 21, 2025

Conversation

amy-at-kickstarter
Copy link
Contributor
@amy-at-kickstarter amy-at-kickstarter commented Apr 17, 2025

📲 What

Fix an off-by-one error when tapping on results in search.

🤔 Why

This happened because I added the search results title as a cell, instead of as a section header - so indexPath.row became off-by-one.

I double-checked and this bug doesn't exist in the release app, only the beta version.

@@ -3,6 +3,8 @@ import Library
import Prelude
import UIKit

typealias TitleRow = Void
Copy link
Contributor

Choose a reason for hiding this comment

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

nice!

@amy-at-kickstarter amy-at-kickstarter merged commit c1dd599 into main Apr 21, 2025
5 checks passed
@amy-at-kickstarter amy-at-kickstarter deleted the bug/adyer/mbl-2353 branch April 21, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0