app crash when enter wrong pin code?

Words
103
Reading
1 min
Listen
Play
8y

Project Information

Repository:https://github.com/BijoySingh/Scarlet-Notes
Expected behavior:
It should not be denied that an error is entered because of an export note?

Actual behavior
When I enter the correct pin code it can not crash and it works out easily. But when I write the wrong PIN code it crashes.

How to reproduce

  • download the app

  • open the app

  • go to settings and click on

  • then set a pin code

  • now click on Backup

  • then it wants pin to export notes

  • type a wrong pin code

  • note the bug

  • App version: v5.6.0

Recording Of The Bug

Proof of Work Done :
check my profile in-
https://github.com/somrat420