mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
fix: Sync leaving left over temp files (#73)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
c5e39db9ec
commit
8d15e319d3
15 changed files with 644 additions and 406 deletions
|
|
@ -28,6 +28,7 @@ part 'i_synced_item.g.dart';
|
|||
class ISyncedItem {
|
||||
String? userId;
|
||||
String id;
|
||||
bool syncing;
|
||||
String? sortName;
|
||||
String? parentId;
|
||||
String? path;
|
||||
|
|
@ -42,6 +43,7 @@ class ISyncedItem {
|
|||
ISyncedItem({
|
||||
this.userId,
|
||||
required this.id,
|
||||
required this.syncing,
|
||||
this.sortName,
|
||||
this.parentId,
|
||||
this.path,
|
||||
|
|
@ -59,6 +61,7 @@ class ISyncedItem {
|
|||
return ISyncedItem(
|
||||
id: syncedItem.id,
|
||||
parentId: syncedItem.parentId,
|
||||
syncing: syncedItem.syncing,
|
||||
userId: syncedItem.userId,
|
||||
path: syncedItem.path?.replaceAll(path ?? "", '').substring(1),
|
||||
fileSize: syncedItem.fileSize,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue