remove unused method

This commit is contained in:
Neeraj Gupta 2022-09-01 00:12:24 +05:30
parent dc0c856a4c
commit 40c76edbc5
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -1172,22 +1172,6 @@ class FilesDB {
return collectionMap.values.toList();
}
Future<File> getLastModifiedFileInCollection(int collectionID) async {
final db = await instance.database;
final rows = await db.query(
filesTable,
where: '$columnCollectionID = ?',
whereArgs: [collectionID],
orderBy: '$columnUpdationTime DESC',
limit: 1,
);
if (rows.isNotEmpty) {
return _getFileFromRow(rows[0]);
} else {
return null;
}
}
Future<Map<String, int>> getFileCountInDeviceFolders() async {
final db = await instance.database;
final rows = await db.rawQuery(