Skip to content

Commit

Permalink
[Release PR] Remove waitlist button state (#2620)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/1199230911884351/1207061569597820/f
Tech Design URL:
CC:

Description:

This PR removes the waitlist available NetP icon to make sure it never shows to users again.

We don't need this asset at all any more so let's just remove it and no longer show the custom state. We'll come back later and properly clean up the waitlist UI code, this PR just does the bare minimum to fix the issue.
  • Loading branch information
samsymons authored Apr 12, 2024
1 parent f71541b commit 899bcb5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 30 deletions.

This file was deleted.

Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,6 @@ final class NetworkProtectionNavBarButtonModel: NSObject, ObservableObject {
guard [.normal, .integrationTests].contains(NSApp.runType) else { return NSImage() }
#endif

if NetworkProtectionWaitlist().readyToAcceptTermsAndConditions {
return .networkProtectionAvailableButton
}

if NetworkProtectionKeychainTokenStore().isFeatureActivated {
return .image(for: icon)!
}

return .image(for: icon)!
}

Expand Down

0 comments on commit 899bcb5

Please sign in to comment.