Skip to content

Commit

Permalink
Fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Jun 9, 2022
1 parent 2f3ccaa commit 2d80e87
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/lib/models/converter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class DocumentJsonConverter extends JsonConverter<AppDocument, Map> {
map['type'] = 'pathEraser';
}
return map;
})).where((map) => map['type'] != 'image');
})).where((map) => map['type'] != 'image').toList();
json['content'] = List.from((json['content'] as List).map((e) {
var map = Map<String, dynamic>.from(e);
if (map['type'] == 'paint') {
Expand Down
14 changes: 14 additions & 0 deletions app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,20 @@ packages:
name: camera
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.8"
camera_android:
dependency: transitive
description:
name: camera_android
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.7+1"
camera_avfoundation:
dependency: transitive
description:
name: camera_avfoundation
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.7+1"
camera_platform_interface:
dependency: transitive
Expand Down
2 changes: 1 addition & 1 deletion app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies:
xml: ^6.0.1
collection: ^1.16.0
bloc_concurrency: ^0.2.0
camera: ^0.9.7+1
camera: ^0.9.8
camera_windows: ^0.1.0+2
window_manager: ^0.2.5
flex_color_scheme: ^5.0.1
Expand Down

1 comment on commit 2d80e87

@vercel
Copy link

@vercel vercel bot commented on 2d80e87 Jun 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.