Skip to content

Commit

Permalink
fixed changing model of Releases -> Price issue
Browse files Browse the repository at this point in the history
  • Loading branch information
semack committed Oct 3, 2021
1 parent 3307c6d commit 132b6b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/services/zx_api/models/item_dto.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ class Releases {
List<Publishers> publishers,
List<String> releaseTitles,
int yearOfRelease,
String releasePrice,
String releasePrice,
dynamic budgetPrice,
dynamic microdrivePrice,
dynamic diskPrice,
Expand Down Expand Up @@ -1066,7 +1066,8 @@ class Releases {
? json["releaseTitles"].cast<String>()
: [];
_yearOfRelease = json["yearOfRelease"];
_releasePrice = json["releasePrice"];
if (json["releasePrice"] != null)
_releasePrice = json["releasePrice"].toString();
_budgetPrice = json["budgetPrice"];
_microdrivePrice = json["microdrivePrice"];
_diskPrice = json["diskPrice"];
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.5+115
version: 1.0.6+116

environment:
sdk: ">=2.7.0 <4.0.0"
Expand Down

0 comments on commit 132b6b8

Please sign in to comment.