Skip to content

Commit

Permalink
Merge pull request #1000 from kaloudis/handle-anything-tweak
Browse files Browse the repository at this point in the history
handleAnything: don't throw alert when filling out Send form
  • Loading branch information
kaloudis authored May 24, 2022
2 parents d1b87c5 + fdd937c commit 37c63f1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions utils/handleAnything.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,6 @@ export default async function (data: string): Promise<any> {
}
});
} else {
Alert.alert(
localeString('general.error'),
localeString('utils.handleAnything.notValid'),
[{ text: localeString('general.ok'), onPress: () => void 0 }],
{ cancelable: false }
);
throw new Error(localeString('utils.handleAnything.notValid'));
}
}

0 comments on commit 37c63f1

Please sign in to comment.