1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-13 00:10:37 +02:00

Chore: Mobile: Fixed regression that would prevent the app from running on Android 7

This commit is contained in:
Laurent Cozic
2023-12-23 22:31:21 +00:00
parent 3dcbb2ed51
commit b4928eb7e5
4 changed files with 48 additions and 9 deletions

View File

@ -0,0 +1,4 @@
// Syntax errors have a code 0 (no error) so we need to check the message.
export default (sqliteError: any) => {
return sqliteError.message && sqliteError.message.includes('syntax error');
};