Skip to content

Commit

Permalink
fix appDocDir
Browse files Browse the repository at this point in the history
  • Loading branch information
alann-maulana committed Oct 30, 2019
1 parent 36778aa commit d0a1b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/path/mobile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ParsePathProvider {
'Use packages [path_provider] and then set returned [path] from [getApplicationDocumentsDirectory()]');
}

if (appDocDir != null || appDocDir.isNotEmpty) {
if (appDocDir != null && appDocDir.isNotEmpty) {
return path.join(appDocDir, dbName);
}

Expand Down

0 comments on commit d0a1b1b

Please sign in to comment.