Skip to content

Commit

Permalink
fix: Fixes polkawallet-io#30. Return empty string not null when inval…
Browse files Browse the repository at this point in the history
…id custom type s and no remote node
  • Loading branch information
ltfschoen committed May 18, 2020
1 parent 4b9df92 commit 84e4013
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/page/assets/index.dart
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class _AssetsState extends State<Assets> {
return Observer(
builder: (_) {
String symbol = store.settings.networkState.tokenSymbol;
String networkName = store.settings.networkName;
String networkName = store.settings.networkName ?? '';
return RefreshIndicator(
key: globalBalanceRefreshKey,
onRefresh: _fetchBalance,
Expand Down
6 changes: 3 additions & 3 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ packages:
name: flutter_mobx
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.7"
version: "1.1.0"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
Expand Down Expand Up @@ -419,14 +419,14 @@ packages:
name: mobx
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.0+4"
version: "1.2.0"
mobx_codegen:
dependency: "direct main"
description:
name: mobx_codegen
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.13"
version: "1.1.0"
node_interop:
dependency: transitive
description:
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ dependencies:
# intl - format numbers
intl: ^0.16.0
# state management with mobx & provider
mobx: ^0.4.0
flutter_mobx: ^0.3.6
mobx_codegen: ^0.3.12
mobx: ^1.2.0
flutter_mobx: ^1.1.0
mobx_codegen: ^1.1.0
provider: ^3.1.0
json_serializable: ^3.0.0
shared_preferences: ^0.5.6
Expand Down

0 comments on commit 84e4013

Please sign in to comment.