Skip to content
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

Fix filter apply button being enabled with zero providers #7159

Conversation

rablador
Copy link
Contributor

@rablador rablador commented Nov 11, 2024

When switching between ownership at filter view, the apply button is enabled while no providers are selected and the provider pile shows wrong number for providers.


This change is Reviewable

@rablador rablador added bug iOS Issues related to iOS labels Nov 11, 2024
@rablador rablador self-assigned this Nov 11, 2024
Copy link

linear bot commented Nov 11, 2024

@rablador rablador force-pushed the apply-button-enabled-incorrectly-and-provider-count-mismatch-ios-919 branch from 8cb08ef to a0e2551 Compare November 12, 2024 07:27
@rablador rablador marked this pull request as ready for review November 12, 2024 07:28
Copy link
Contributor Author

@rablador rablador left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion


ios/MullvadVPN/View controllers/RelayFilter/RelayFilterDataSource.swift line 288 at r1 (raw file):

    }

    func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {

Opportunistically removed some "dead" code. Not related to PR.

Copy link
Contributor

@buggmagnet buggmagnet left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion

Copy link
Contributor

@acb-mv acb-mv left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion

@pinkisemils pinkisemils force-pushed the apply-button-enabled-incorrectly-and-provider-count-mismatch-ios-919 branch from a0e2551 to aa56e46 Compare November 18, 2024 10:14
@pinkisemils pinkisemils force-pushed the apply-button-enabled-incorrectly-and-provider-count-mismatch-ios-919 branch from aa56e46 to 60cde45 Compare November 18, 2024 11:05
@pinkisemils pinkisemils merged commit 690d343 into main Nov 18, 2024
10 of 11 checks passed
@pinkisemils pinkisemils deleted the apply-button-enabled-incorrectly-and-provider-count-mismatch-ios-919 branch November 18, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug iOS Issues related to iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants