From ec5766967a1b46f45c546ee36b1bd2ab52855992 Mon Sep 17 00:00:00 2001 From: shawn Date: Mon, 8 Aug 2022 16:08:02 +0800 Subject: [PATCH] release 0.4.9 --- CHANGELOG.md | 5 +++++ example/lib/pages/keyring.dart | 7 ++++--- pubspec.yaml | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4aafa649d..7f583d9bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [0.4.9] - 20220808 + +* add bridge api +* fix DApp browser request parsing with unknown address format + ## [0.4.8] - 20220621 * upgrade flutter 3.0.1 diff --git a/example/lib/pages/keyring.dart b/example/lib/pages/keyring.dart index f82f15798..8bfa34935 100644 --- a/example/lib/pages/keyring.dart +++ b/example/lib/pages/keyring.dart @@ -1,5 +1,6 @@ import 'dart:convert'; +import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:polkawallet_sdk/api/apiKeyring.dart'; import 'package:polkawallet_sdk/api/types/addressIconData.dart'; @@ -330,19 +331,19 @@ class _KeyringPageState extends State { Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ - RaisedButton( + CupertinoButton( child: Text('Polkadot: 0'), color: _ss58 == 0 ? Theme.of(context).primaryColor : null, onPressed: () => _setSS58(0), ), - RaisedButton( + CupertinoButton( child: Text('Kusama: 2'), color: _ss58 == 2 ? Theme.of(context).primaryColor : null, onPressed: () => _setSS58(2), ), - RaisedButton( + CupertinoButton( child: Text('Substrate: 42'), color: _ss58 == 42 ? Theme.of(context).primaryColor : null, diff --git a/pubspec.yaml b/pubspec.yaml index cf3e69506..e7bd3f661 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: polkawallet_sdk description: Flutter SDK for building plugin package for polkawallet. -version: 0.4.8 +version: 0.4.9 homepage: https://polkawallet.io environment: