otp-generator icon indicating copy to clipboard operation
otp-generator copied to clipboard

Refactor: enhance generator readability

Open os-moussao opened this issue 9 months ago • 1 comments

  • Simplify the checking of properties in generateOptions.
  • Remove extra check: I guess checking if generateOptions.digits === true here is unecessary (it will always be true if the selected character is '0').

os-moussao avatar May 20 '24 10:05 os-moussao