From 1765aa894296d74edb20ce9f15a1348d1e95e359 Mon Sep 17 00:00:00 2001 From: Thiago Carvalho Date: Mon, 5 Feb 2024 17:41:59 -0300 Subject: [PATCH 1/3] Update ghost_fixer_form.dart fixes the ghost fix not updating the ui --- lib/components/ghost_fixer_form.dart | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/lib/components/ghost_fixer_form.dart b/lib/components/ghost_fixer_form.dart index 482a9d107b..c5c0939097 100644 --- a/lib/components/ghost_fixer_form.dart +++ b/lib/components/ghost_fixer_form.dart @@ -18,6 +18,7 @@ import 'components.dart'; Future promptToReCreateFolder(BuildContext context, {required FolderDataTableItem ghostFolder}) { if (ghostFolder.parentFolderId != null) { + final driveDetailCubit = context.read(); return showArDriveDialog( context, content: BlocProvider( @@ -28,7 +29,9 @@ Future promptToReCreateFolder(BuildContext context, turboUploadService: context.read(), driveDao: context.read(), syncCubit: context.read()), - child: const GhostFixerForm(), + child: GhostFixerForm( + driveDetailCubit: driveDetailCubit, + ), ), ); } else { @@ -38,7 +41,12 @@ Future promptToReCreateFolder(BuildContext context, } class GhostFixerForm extends StatefulWidget { - const GhostFixerForm({Key? key}) : super(key: key); + const GhostFixerForm({ + Key? key, + required this.driveDetailCubit, + }) : super(key: key); + + final DriveDetailCubit driveDetailCubit; @override State createState() => _GhostFixerFormState(); @@ -60,6 +68,7 @@ class _GhostFixerFormState extends State { } else if (state is GhostFixerSuccess) { Navigator.pop(context); Navigator.pop(context); + widget.driveDetailCubit.refreshDriveDataTable(); } else if (state is GhostFixerWalletMismatch) { Navigator.pop(context); } else if (state is GhostFixerNameConflict) { From 5655fdcf4d4a9a4e6737f431589f14122cd0701a Mon Sep 17 00:00:00 2001 From: Thiago Carvalho Date: Wed, 7 Feb 2024 12:55:44 -0300 Subject: [PATCH 2/3] bump version and release --- android/fastlane/metadata/android/en-US/changelogs/104.txt | 1 + pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 android/fastlane/metadata/android/en-US/changelogs/104.txt diff --git a/android/fastlane/metadata/android/en-US/changelogs/104.txt b/android/fastlane/metadata/android/en-US/changelogs/104.txt new file mode 100644 index 0000000000..02fe84e17c --- /dev/null +++ b/android/fastlane/metadata/android/en-US/changelogs/104.txt @@ -0,0 +1 @@ +- Automatic update after ghost folder correction, improving user experience. \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index 3ba39aa0f8..fabc3fb830 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: Secure, permanent storage publish_to: 'none' -version: 2.33.2 +version: 2.33.3 environment: sdk: '>=3.0.2 <4.0.0' From 11583454915cb4dccca9c646f9001d3c095f91f2 Mon Sep 17 00:00:00 2001 From: Thiago Carvalho Date: Wed, 7 Feb 2024 12:57:14 -0300 Subject: [PATCH 3/3] Update 104.txt --- android/fastlane/metadata/android/en-US/changelogs/104.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/fastlane/metadata/android/en-US/changelogs/104.txt b/android/fastlane/metadata/android/en-US/changelogs/104.txt index 02fe84e17c..56dea29a61 100644 --- a/android/fastlane/metadata/android/en-US/changelogs/104.txt +++ b/android/fastlane/metadata/android/en-US/changelogs/104.txt @@ -1 +1 @@ -- Automatic update after ghost folder correction, improving user experience. \ No newline at end of file +- Automatic updates the drive explorer after ghost folder correction. \ No newline at end of file