Skip to content

PinPad: increase touch area for each key#907

Merged
kaloudis merged 2 commits intoZeusLN:masterfrom
kaloudis:pinpad-area
Mar 18, 2022
Merged

PinPad: increase touch area for each key#907
kaloudis merged 2 commits intoZeusLN:masterfrom
kaloudis:pinpad-area

Conversation

@kaloudis
Copy link
Copy Markdown
Contributor

No description provided.

Comment on lines -29 to +35
filled.push(<Filled style={styles.circles} />);
filled.push(<Filled key={`filled-${i}`} style={styles.circles} />);
}

const hollow = [];
if (!hidePinLength) {
for (let i = 0; i < pinLength - numFilled; i++) {
hollow.push(<Hollow style={styles.circles} />);
hollow.push(<Hollow key={`hollow-${i}`} style={styles.circles} />);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this to avoid warnings or does it affect functionality?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it clears out the warnings

@deregs
Copy link
Copy Markdown
Contributor

deregs commented Mar 17, 2022

Looks good!

@kaloudis kaloudis merged commit df8a8fb into ZeusLN:master Mar 18, 2022
@kaloudis kaloudis deleted the pinpad-area branch March 18, 2022 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants