From e8f5aaafa6db7bc136eac33733fe614116645632 Mon Sep 17 00:00:00 2001 From: shawn Date: Fri, 16 Jul 2021 16:31:33 +0800 Subject: [PATCH] bump polkawallet_sdk: 0.2.5. --- CHANGELOG.md | 4 ++++ example/pubspec.yaml | 8 ++++---- lib/pages/staking/actions/bondPage.dart | 6 +++--- pubspec.yaml | 12 ++++++------ 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b376e39ed..901e40c0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [0.2.5] - 20210716. + +* bump polkawallet_sdk: 0.2.5. + ## [0.2.4] - 20210708. * bump polkawallet_sdk: 0.2.4. diff --git a/example/pubspec.yaml b/example/pubspec.yaml index d5b64c0ca..1ea000af9 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -27,10 +27,10 @@ dependencies: sdk: flutter flutter_mobx: ^2.0.0 polkawallet_ui: -# git: -# url: https://github.com/polkawallet-io/ui.git -# ref: a181a240a0c2b098a2e4140e07d036ea8222cea1 - path: ../../ui + git: + url: https://github.com/polkawallet-io/ui.git + ref: 144a244b038e56aead4fc97a189057819bfeab08 +# path: ../../ui # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. diff --git a/lib/pages/staking/actions/bondPage.dart b/lib/pages/staking/actions/bondPage.dart index f219b65cf..7c4be230b 100644 --- a/lib/pages/staking/actions/bondPage.dart +++ b/lib/pages/staking/actions/bondPage.dart @@ -136,9 +136,9 @@ class _BondPageState extends State { return dic['amount.error']; } final amount = double.parse(v.trim()); - if (amount >= available) { - return dic['amount.low']; - } + // if (amount >= available) { + // return dic['amount.low']; + // } final minBond = Fmt.balanceInt(widget .plugin.store.staking.overview['minNominatorBond']); if (amount < Fmt.bigIntToDouble(minBond, decimals)) { diff --git a/pubspec.yaml b/pubspec.yaml index 9e56670c0..d4aeff4f4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: polkawallet_plugin_kusama description: The kusama/polkadot network flutter plugin for polkawallet app. -version: 0.2.3 +version: 0.2.5 homepage: environment: @@ -18,12 +18,12 @@ dependencies: flutter_svg: ^0.22.0 get_storage: ^2.0.2 json_annotation: ^4.0.1 - polkawallet_sdk: ^0.2.2 + polkawallet_sdk: ^0.2.5 polkawallet_ui: -# git: -# url: https://github.com/polkawallet-io/ui.git -# ref: dee6fc6074f546e914c8794fd5e3a3e2b829b53c - path: ../ui + git: + url: https://github.com/polkawallet-io/ui.git + ref: 144a244b038e56aead4fc97a189057819bfeab08 +# path: ../ui dependency_overrides: polkawallet_sdk: