File tree 2 files changed +2
-2
lines changed
ios/brave-ios/Sources/Brave/Frontend
Browser/BrowserViewController
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ public class BrowserViewController: UIViewController {
348
348
}
349
349
350
350
rewards. ads. captchaHandler = self
351
- let shouldStartAds = rewards. ads. isEnabled || Preferences . BraveNews. isEnabled. value
351
+ let shouldStartAds = rewards. ads. isEnabled || Preferences . BraveNews. isEnabled. value || BraveAds . shouldAlwaysRunService ( )
352
352
if shouldStartAds {
353
353
// Only start rewards service automatically if ads is enabled
354
354
if rewards. isEnabled {
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ public class BraveRewards: NSObject {
100
100
private var braveNewsObservation : AnyCancellable ?
101
101
102
102
private var shouldShutdownAds : Bool {
103
- ads. isServiceRunning ( ) && !ads. isEnabled && !Preferences. BraveNews. isEnabled. value
103
+ ads. isServiceRunning ( ) && !ads. isEnabled && !Preferences. BraveNews. isEnabled. value && !BraveAds . shouldAlwaysRunService ( )
104
104
}
105
105
106
106
/// Propose that the ads service should be shutdown based on whether or not that all features
You can’t perform that action at this time.
0 commit comments