1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-25 09:01:22 +02:00
immich/mobile/lib/modules/backup/models/duplicated_asset.model.dart
Fynn Petersen-Frey 05cf5d57a9
feature(mobile): no longer wait for background backup in settings (#1984)
* feature(mobile): no longer wait for background backup in settings

migrate all Hive boxes required for the backup process to Isar

* add final modifier
2023-03-18 09:55:11 -05:00

12 lines
253 B
Dart

import 'package:immich_mobile/utils/hash.dart';
import 'package:isar/isar.dart';
part 'duplicated_asset.model.g.dart';
@Collection(inheritance: false)
class DuplicatedAsset {
String id;
DuplicatedAsset(this.id);
Id get isarId => fastHash(id);
}