Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ua741 committed Aug 18, 2023
1 parent 6f51d0b commit 7cee6ad
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/ui/settings/data/import/aegis_import.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import 'package:ente_auth/ui/components/dialog_widget.dart';
import 'package:ente_auth/ui/components/models/button_type.dart';
import 'package:ente_auth/ui/settings/data/import/import_success.dart';
import 'package:ente_auth/utils/dialog_util.dart';
import 'package:ente_auth/utils/toast_util.dart';
import 'package:file_picker/file_picker.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
Expand Down Expand Up @@ -83,7 +82,10 @@ Future<void> _pickAegisJsonFile(BuildContext context) async {
}

Future<int?> _processAegisExportFile(
BuildContext context, String path, final ProgressDialog dialog) async {
BuildContext context,
String path,
final ProgressDialog dialog,
) async {
File file = File(path);

final jsonString = await file.readAsString();
Expand Down Expand Up @@ -124,7 +126,6 @@ Future<int?> _processAegisExportFile(
} else {
aegisDB = decodedJson['db'];
}
int dbVersion = aegisDB['version'];
final parsedCodes = [];
for (var item in aegisDB['entries']) {
var kind = item['type'];
Expand Down

0 comments on commit 7cee6ad

Please sign in to comment.