Skip to content

Commit

Permalink
Remove default option from brave theme options list
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhong committed Nov 11, 2018
1 parent f929cbc commit 64590d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion browser/extensions/api/brave_theme_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ExtensionFunction::ResponseAction BraveThemeSetBraveThemeTypeFunction::Run() {
ExtensionFunction::ResponseAction BraveThemeGetBraveThemeTypeFunction::Run() {
Profile* profile = Profile::FromBrowserContext(browser_context());
const std::string theme_type = BTS::GetStringFromBraveThemeType(
BTS::GetUserPreferredBraveThemeType(profile));
BTS::GetActiveBraveThemeType(profile));
return RespondNow(OneArgument(std::make_unique<base::Value>(theme_type)));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Polymer({
readOnly: true,
type: Array,
value: [
'Default',
'Light',
'Dark',
],
Expand Down

0 comments on commit 64590d1

Please sign in to comment.