You've already forked joplin
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:
4
packages/lib/services/database/isSqliteSyntaxError.ts
Normal file
4
packages/lib/services/database/isSqliteSyntaxError.ts
Normal 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');
|
||||
};
|
Reference in New Issue
Block a user