Skip to content

Commit

Permalink
fix shell lint and add styles
Browse files Browse the repository at this point in the history
  • Loading branch information
289Adam289 committed Dec 20, 2024
1 parent b5d82de commit 2a65f02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/parser-workletization.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ if [ ! -f "$filePath" ]; then
echo "$filePath does not exist."
exit 1
fi
# shellcheck disable=SC2016
if awk 'BEGIN { print "\47worklet\47\n\nclass peg\$SyntaxError{}" } 1' "$filePath" | sed 's/function peg\$SyntaxError/function temporary/g' | sed 's/peg$subclass(peg$SyntaxError, Error);//g' > tmp.txt; then
mv tmp.txt "$filePath"
echo "Successfully updated $filePath"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function SearchRouterInput(
onSubmitEditing={onSubmit}
shouldUseDisabledStyles={false}
textInputContainerStyles={[styles.borderNone, styles.pb0]}
inputStyle={[inputWidth, styles.p3]}
inputStyle={[inputWidth, styles.p3, styles.dFlex, styles.alignItemsCenter]}
onFocus={() => {
setIsFocused(true);
routerListRef?.current?.updateExternalTextInputFocus(true);
Expand Down
2 changes: 1 addition & 1 deletion src/libs/SearchQueryUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const UserFriendlyKeyMap: Record<SearchFilterKey | typeof CONST.SEARCH.SYNTAX_RO

/**
* @private
* Returns string value wrapped in quotes "", if the value contains special characters.
* Returns string value wrapped in quotes "", if the value contains space or &nbsp; (no-breaking space).
*/
function sanitizeSearchValue(str: string) {
if (str.includes(' ') || str.includes(`\xA0`)) {
Expand Down

0 comments on commit 2a65f02

Please sign in to comment.