Skip to content

Commit

Permalink
android fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bridiver committed Sep 22, 2024
1 parent a955b51 commit d19a800
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions browser/brave_rewards/rewards_tab_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ class RewardsTabHelper : public content::WebContentsUserData<RewardsTabHelper>,

void MaybeSavePublisherInfo();

#if !BUILDFLAG(IS_ANDROID)
std::unique_ptr<BrowserListObserver> browser_list_observer_;
#endif
SessionID tab_id_;
raw_ptr<RewardsService> rewards_service_ = nullptr; // NOT OWNED
base::ObserverList<Observer> observer_list_;
Expand Down
2 changes: 1 addition & 1 deletion components/brave_rewards/browser/rewards_service_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2291,7 +2291,7 @@ mojom::Environment RewardsServiceImpl::GetDefaultServerEnvironment() {
mojom::Environment RewardsServiceImpl::GetDefaultServerEnvironmentForAndroid() {
auto result = mojom::Environment::kProduction;
bool use_staging = false;
if (profile_ && prefs_) {
if (prefs_) {
use_staging = prefs_->GetBoolean(prefs::kUseRewardsStagingServer);
}

Expand Down

0 comments on commit d19a800

Please sign in to comment.