Skip to content

Commit

Permalink
bump polkawallet_sdk: 0.2.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
RomeroYang committed Jul 16, 2021
1 parent 801469e commit e8f5aaa
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.2.5] - 20210716.

* bump polkawallet_sdk: 0.2.5.

## [0.2.4] - 20210708.

* bump polkawallet_sdk: 0.2.4.
Expand Down
8 changes: 4 additions & 4 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions lib/pages/staking/actions/bondPage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ class _BondPageState extends State<BondPage> {
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)) {
Expand Down
12 changes: 6 additions & 6 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit e8f5aaa

Please sign in to comment.