Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagocarvalhodev committed Sep 24, 2024
1 parent fd03464 commit 4ebe25c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions lib/blocs/upload/upload_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import 'package:ardrive/blocs/upload/models/payment_method_info.dart';
import 'package:ardrive/blocs/upload/upload_file_checker.dart';
import 'package:ardrive/core/activity_tracker.dart';
import 'package:ardrive/core/upload/uploader.dart';
import 'package:ardrive/drive_explorer/thumbnail/repository/thumbnail_repository.dart';
import 'package:ardrive/entities/file_entity.dart';
import 'package:ardrive/entities/folder_entity.dart';
import 'package:ardrive/models/forms/cc.dart';
Expand Down Expand Up @@ -56,7 +55,6 @@ class UploadCubit extends Cubit<UploadState> {
final LicenseService _licenseService;
final ConfigService _configService;
final ARNSRepository _arnsRepository;
final ThumbnailRepository _thumbnailRepository;

late bool uploadFolders;
late Drive _targetDrive;
Expand Down Expand Up @@ -339,7 +337,6 @@ class UploadCubit extends Cubit<UploadState> {
required LicenseService licenseService,
required ConfigService configService,
required ARNSRepository arnsRepository,
required ThumbnailRepository thumbnailRepository,
this.folder,
this.uploadFolders = false,
this.isDragNDrop = false,
Expand All @@ -352,7 +349,6 @@ class UploadCubit extends Cubit<UploadState> {
_licenseService = licenseService,
_configService = configService,
_arnsRepository = arnsRepository,
_thumbnailRepository = thumbnailRepository,
_uploadThumbnail = configService.config.uploadThumbnails,
super(UploadPreparationInProgress());

Expand Down
2 changes: 0 additions & 2 deletions lib/components/upload_form.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import 'package:ardrive/core/arfs/entities/arfs_entities.dart';
import 'package:ardrive/core/crypto/crypto.dart';
import 'package:ardrive/core/upload/cost_calculator.dart';
import 'package:ardrive/core/upload/uploader.dart';
import 'package:ardrive/drive_explorer/thumbnail/repository/thumbnail_repository.dart';
import 'package:ardrive/l11n/validation_messages.dart';
import 'package:ardrive/models/models.dart';
import 'package:ardrive/pages/congestion_warning_wrapper.dart';
Expand Down Expand Up @@ -178,7 +177,6 @@ Future<void> promptToUpload(
licenseService: context.read<LicenseService>(),
configService: context.read<ConfigService>(),
arnsRepository: context.read<ARNSRepository>(),
thumbnailRepository: context.read<ThumbnailRepository>(),
)..startUploadPreparation(),
),
BlocProvider(
Expand Down
1 change: 0 additions & 1 deletion test/blocs/upload_cubit_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ void main() {
late MockLicenseService mockLicense;
late MockConfigService mockConfigService;
late MockArnsRepository mockArnsRepository;

const tDriveId = 'drive_id';
const tRootFolderId = 'root-folder-id';
const tRootFolderFileCount = 5;
Expand Down

0 comments on commit 4ebe25c

Please sign in to comment.