mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 00:38:54 +03:30
Fix export issue
This commit is contained in:
@@ -379,8 +379,14 @@ class ItemProvider extends ChangeNotifier {
|
||||
final taskId = await FlutterDownloader.enqueue(
|
||||
url: Url.exportItems,
|
||||
savedDir: baseStorage!.path,
|
||||
headers: {
|
||||
'Authorization': User.token,
|
||||
"Accept": "*"
|
||||
},
|
||||
showNotification: true,
|
||||
openFileFromNotification: true,
|
||||
saveInPublicStorage: true,
|
||||
fileName: "Items " + DateTime.now().toString() + ".xlsx",
|
||||
);
|
||||
print(taskId);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user