Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PE-5617: Release ArDrive App v2.33.3 #1611

Merged
merged 5 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions android/fastlane/metadata/android/en-US/changelogs/104.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Automatic updates the drive explorer after ghost folder correction.
13 changes: 11 additions & 2 deletions lib/components/ghost_fixer_form.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import 'components.dart';
Future<void> promptToReCreateFolder(BuildContext context,
{required FolderDataTableItem ghostFolder}) {
if (ghostFolder.parentFolderId != null) {
final driveDetailCubit = context.read<DriveDetailCubit>();
return showArDriveDialog(
context,
content: BlocProvider(
Expand All @@ -28,7 +29,9 @@ Future<void> promptToReCreateFolder(BuildContext context,
turboUploadService: context.read<TurboUploadService>(),
driveDao: context.read<DriveDao>(),
syncCubit: context.read<SyncCubit>()),
child: const GhostFixerForm(),
child: GhostFixerForm(
driveDetailCubit: driveDetailCubit,
),
),
);
} else {
Expand All @@ -38,7 +41,12 @@ Future<void> 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<GhostFixerForm> createState() => _GhostFixerFormState();
Expand All @@ -60,6 +68,7 @@ class _GhostFixerFormState extends State<GhostFixerForm> {
} 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) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Loading