Skip to content

Commit

Permalink
Don't set dryRun for alpha builds (#2412)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/414235014887631/1206474118520097/f
Tech Design URL:
CC:

Description:

This PR makes sure that alpha builds can send pixels.
  • Loading branch information
samsymons authored Jan 30, 2024
1 parent 636b6a1 commit dac366d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions DuckDuckGo/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
}
#endif

if isDebugBuild {
Pixel.isDryRun = true
} else {
Pixel.isDryRun = false
}
#if DEBUG && !ALPHA
Pixel.isDryRun = true
#else
Pixel.isDryRun = false
#endif

ContentBlocking.shared.onCriticalError = presentPreemptiveCrashAlert
// Explicitly prepare ContentBlockingUpdating instance before Tabs are created
Expand Down

0 comments on commit dac366d

Please sign in to comment.