brave/brave-site-specific-scripts

Check prefs when setting greaselion::REWARDS

Opened this issue · 0 comments

Description

Currently, we set 'rewards-enabled' to TRUE, without consulting prefs at https://github.com/brave/brave-core/blob/5769e9dfb04898f8e750828fe0581d41322cd0d8/components/brave_rewards/browser/rewards_service_impl.cc#L1321, per @jonathansampson.

This is related to brave/brave-browser#14277.

Solution

Should check prefs as to whether Rewards has actually been enabled.