Skip to content

Commit aaaddee

Browse files
committed
fix: remove icon
1 parent 3a78588 commit aaaddee

File tree

3 files changed

+6
-63
lines changed

3 files changed

+6
-63
lines changed

dist/autofill-debug.js

Lines changed: 2 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/autofill.js

Lines changed: 2 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Form/inputTypeConfig.js

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -158,27 +158,8 @@ const inputTypeConfig = {
158158
creditCards: {
159159
type: 'creditCards',
160160
displayName: 'credit cards',
161-
getIconBase: (input, form) => {
162-
const { device } = form;
163-
const subtype = getInputSubtype(input);
164-
165-
if (subtype === 'cardName') return '';
166-
167-
if (canBeInteractedWith(input) && device.globalConfig.isMobileApp && canShowCCIcon(subtype))
168-
return ddgPasswordIcons.ddgCcIconBase;
169-
170-
return '';
171-
},
172-
getIconFilled: (input, form) => {
173-
const { device } = form;
174-
const subtype = getInputSubtype(input);
175-
176-
if (subtype === 'cardName') return '';
177-
178-
if (device.globalConfig.isMobileApp && canShowCCIcon(subtype)) return ddgPasswordIcons.ddgCcIconFilled;
179-
180-
return '';
181-
},
161+
getIconBase: () => '',
162+
getIconFilled: () => '',
182163
getIconAlternate: () => '',
183164
shouldDecorate: async (input, { device }) => {
184165
return canBeAutofilled(input, device);

0 commit comments

Comments
 (0)