[Fix] Keyboard Close on Forgot Password tap (#15968)

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
This commit is contained in:
Mohamed Javid 2023-05-22 20:32:00 +08:00 committed by GitHub
parent 4fe2ccaa84
commit c5d74dc758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -227,8 +227,10 @@
:style {:margin-left -4}
:disabled processing
:active-opacity 1
:on-press #(rf/dispatch [:show-bottom-sheet
{:content forget-password-doc :shell? true}])}
:on-press (fn []
(rn/dismiss-keyboard!)
(rf/dispatch [:show-bottom-sheet
{:content forget-password-doc :shell? true}]))}
[rn/text
{:style {:text-decoration-line :underline
:color colors/danger-60}