From 6ab1ccffb0eb05937b1cea73453936e57c035355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hanno=20J=2E=20G=C3=B6decke?= Date: Thu, 24 Aug 2023 08:21:52 +0200 Subject: [PATCH] Update src/pages/home/report/ReportActionCompose/SendButton.js Co-authored-by: Vit Horacek <36083550+mountiny@users.noreply.github.com> --- src/pages/home/report/ReportActionCompose/SendButton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home/report/ReportActionCompose/SendButton.js b/src/pages/home/report/ReportActionCompose/SendButton.js index 81687a9d3dae..4f1dc5fff191 100644 --- a/src/pages/home/report/ReportActionCompose/SendButton.js +++ b/src/pages/home/report/ReportActionCompose/SendButton.js @@ -38,7 +38,7 @@ function SendButton({isDisabled: isDisabledProp, animatedRef, setIsCommentEmpty, const viewTag = animatedRef(); const viewName = 'RCTMultilineTextInputView'; const updates = {text: ''}; - // we are setting the isCommentEmpty flag to true so the status of it will be in sync of the native text input state + // We are setting the isCommentEmpty flag to true so the status of it will be in sync of the native text input state runOnJS(setIsCommentEmpty)(true); updatePropsPaperWorklet(viewTag, viewName, updates); // clears native text input on the UI thread runOnJS(submitForm)();