Bläddra i källkod

Make sure that the file fetched for memories is not deleted

Vishnu Mohandas 5 år sedan
förälder
incheckning
e6b4619c52
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      lib/db/files_db.dart

+ 2 - 1
lib/db/files_db.dart

@@ -132,7 +132,8 @@ class FilesDB {
     final db = await instance.database;
     final results = await db.query(
       table,
-      where: '$columnCreationTime >= ? AND $columnCreationTime <= ?',
+      where:
+          '$columnCreationTime > ? AND $columnCreationTime < ? AND $columnIsDeleted = 0',
       whereArgs: [startCreationTime, endCreationTime],
       orderBy: '$columnCreationTime DESC',
     );