|
@@ -156,14 +156,14 @@ Future<void> _updatePublicMetadata(
|
|
}
|
|
}
|
|
ProgressDialog dialog;
|
|
ProgressDialog dialog;
|
|
if (context != null) {
|
|
if (context != null) {
|
|
- dialog = createProgressDialog(context, 'please wait...');
|
|
|
|
|
|
+ dialog = createProgressDialog(context, 'Please wait...');
|
|
await dialog.show();
|
|
await dialog.show();
|
|
}
|
|
}
|
|
try {
|
|
try {
|
|
final Map<String, dynamic> update = {key: value};
|
|
final Map<String, dynamic> update = {key: value};
|
|
await FileMagicService.instance.updatePublicMagicMetadata(files, update);
|
|
await FileMagicService.instance.updatePublicMagicMetadata(files, update);
|
|
if (context != null) {
|
|
if (context != null) {
|
|
- showShortToast(context, 'done');
|
|
|
|
|
|
+ showShortToast(context, 'Done');
|
|
await dialog.hide();
|
|
await dialog.hide();
|
|
}
|
|
}
|
|
|
|
|