@@ -45,11 +45,14 @@ RegisterPolymerTemplateModifications({
45
45
console . error (
46
46
'[Brave Settings Overrides] Couldn\'t find autoplay settings' )
47
47
}
48
- else { autoplaySettings . setAttribute (
49
- 'label' , loadTimeData . getString ( 'siteSettingsAutoplay' ) ) } curChild ++
50
- // Google Sign-In feature
51
- const isGoogleSignInFeatureEnabled =
52
- loadTimeData . getBoolean ( 'isGoogleSignInFeatureEnabled' )
48
+ else {
49
+ autoplaySettings . setAttribute (
50
+ 'label' , loadTimeData . getString ( 'siteSettingsAutoplay' ) )
51
+ }
52
+ curChild ++
53
+ // Google Sign-In feature
54
+ const isGoogleSignInFeatureEnabled =
55
+ loadTimeData . getBoolean ( 'isGoogleSignInFeatureEnabled' )
53
56
if ( isGoogleSignInFeatureEnabled ) {
54
57
firstPermissionItem . insertAdjacentHTML (
55
58
'beforebegin' ,
@@ -65,9 +68,11 @@ RegisterPolymerTemplateModifications({
65
68
console . error (
66
69
'[Brave Settings Overrides] Couldn\'t find Google signin settings' )
67
70
}
68
- else { googleSignInSettings . setAttribute (
69
- 'label' ,
70
- loadTimeData . getString ( 'siteSettingsGoogleSignIn' ) ) } curChild ++
71
+ else {
72
+ googleSignInSettings . setAttribute (
73
+ 'label' , loadTimeData . getString ( 'siteSettingsGoogleSignIn' ) )
74
+ }
75
+ curChild ++
71
76
}
72
77
const isNativeBraveWalletEnabled = loadTimeData . getBoolean ( 'isNativeBraveWalletFeatureEnabled' )
73
78
if ( isNativeBraveWalletEnabled ) {
@@ -84,6 +89,9 @@ RegisterPolymerTemplateModifications({
84
89
if ( ! ethereumSettings ) {
85
90
console . error (
86
91
'[Brave Settings Overrides] Couldn\'t find Ethereum settings' )
92
+ } else {
93
+ ethereumSettings . setAttribute (
94
+ 'label' , loadTimeData . getString ( 'siteSettingsEthereum' ) )
87
95
}
88
96
curChild ++
89
97
firstPermissionItem . insertAdjacentHTML (
0 commit comments