Skip to content

Commit

Permalink
Merge pull request #9789 from brave/maxk-cr93fu-profile-picker-fix
Browse files Browse the repository at this point in the history
[cr93 followup] Fixes profile picker - hides "Set up" page.
  • Loading branch information
mkarolin committed Aug 24, 2021
1 parent 51e145c commit 371433f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions chromium_src/chrome/browser/ui/webui/signin/profile_picker_ui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,22 @@
#include "chrome/browser/ui/webui/signin/profile_picker_ui.h"

#include "brave/grit/brave_generated_resources.h"
#include "chrome/browser/signin/account_consistency_mode_manager.h"
#include "chrome/grit/generated_resources.h"

namespace {

class BraveAccountConsistencyModeManager {
public:
static bool IsDiceSignInAllowed() { return false; }
};

} // namespace

#define AccountConsistencyModeManager BraveAccountConsistencyModeManager

#undef IDS_DEFAULT_AVATAR_LABEL_26
#define IDS_DEFAULT_AVATAR_LABEL_26 IDS_BRAVE_AVATAR_LABEL_PLACEHOLDER
#include "../../../../../../../chrome/browser/ui/webui/signin/profile_picker_ui.cc"
#undef IDS_DEFAULT_AVATAR_LABEL_26
#undef AccountConsistencyModeManager

0 comments on commit 371433f

Please sign in to comment.