Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
Hotfix/3.6.8 (#422)
Browse files Browse the repository at this point in the history
* fix: do not set state in SNTextView content change event

* fix: typing quickly on search bar causes issues with input

Co-authored-by: Antonella Sgarlatta <[email protected]>
  • Loading branch information
arielsvg and antsgar authored Apr 30, 2021
1 parent 71175ab commit d59de4c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/screens/Compose/Compose.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@ export class Compose extends React.Component<{}, State> {
};

onContentChange = (text: string) => {
this.setState({ text });
if (Platform.OS === 'android' && this.note?.locked) {
this.context?.alertService?.alert(
'This note is locked. Please unlock this note to make changes.'
Expand Down
1 change: 0 additions & 1 deletion src/screens/Notes/NoteList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ export const NoteList = (props: Props) => {
ref={iosSearchBarInputRef}
keyboardAppearance={themeService?.keyboardColorForActiveTheme()}
placeholder="Search"
text={searchText}
hideBackground
/**
* keyboardColorForActiveTheme returns the same value as apperance
Expand Down

0 comments on commit d59de4c

Please sign in to comment.