Skip to content

Commit

Permalink
Merge pull request #1888 from ardriveapp/PE-6751
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagocarvalhodev authored Oct 15, 2024
2 parents 4612091 + bb238fa commit 15096dd
Show file tree
Hide file tree
Showing 15 changed files with 1,434 additions and 229 deletions.
10 changes: 5 additions & 5 deletions lib/blocs/create_manifest/create_manifest_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,8 @@ class CreateManifestCubit extends Cubit<CreateManifestState> {
}

Future<void> checkNameConflicts(String name) async {
final arns = await _arnsRepository.getAntRecordsForWallet(
_auth.currentUser.walletAddress
);
final arns = await _arnsRepository
.getAntRecordsForWallet(_auth.currentUser.walletAddress);

final parentFolder =
(state as CreateManifestCheckingForConflicts).parentFolder;
Expand Down Expand Up @@ -273,7 +272,7 @@ class CreateManifestCubit extends Cubit<CreateManifestState> {
}
}

Future<void> uploadManifest() async {
Future<void> uploadManifest({UploadMethod? method}) async {
if (await _profileCubit.logoutIfWalletMismatch()) {
emit(CreateManifestWalletMismatch());
return;
Expand All @@ -283,7 +282,8 @@ class CreateManifestCubit extends Cubit<CreateManifestState> {
try {
final createManifestUploadReview = state as CreateManifestUploadReview;
final uploadType =
createManifestUploadReview.uploadMethod == UploadMethod.ar
(method ?? createManifestUploadReview.uploadMethod) ==
UploadMethod.ar
? UploadType.d2n
: UploadType.turbo;

Expand Down
Loading

0 comments on commit 15096dd

Please sign in to comment.