Skip to content

Commit a4b97e8

Browse files
committed
fix: _getLastAutoBackup() reading from wrong Hive key
1 parent a156253 commit a4b97e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utilities/prefs.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ class Prefs extends ChangeNotifier {
726726
Future<DateTime?> _getLastAutoBackup() async {
727727
return await DB.instance.get<dynamic>(
728728
boxName: DB.boxNamePrefs,
729-
key: "autoBackupFileUri",
729+
key: "lastAutoBackup",
730730
)
731731
as DateTime?;
732732
}

0 commit comments

Comments
 (0)