Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update starport_template with newest packages' code #206

Merged
merged 3 commits into from
Feb 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cosmos_auth/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ packages:
description:
path: "packages/cosmos_utils"
ref: main
resolved-ref: "85f1324a2102162102c060420cb31851cff3c7df"
resolved-ref: "79f8b8ebb452ffbe4e3fa092e43824f0d2a79282"
url: "https://github.com/tendermint/flutter.git"
source: git
version: "0.0.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/cosmos_ui_components/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ packages:
description:
path: "packages/cosmos_utils"
ref: main
resolved-ref: "85f1324a2102162102c060420cb31851cff3c7df"
resolved-ref: "79f8b8ebb452ffbe4e3fa092e43824f0d2a79282"
url: "https://github.com/tendermint/flutter.git"
source: git
version: "0.0.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/transaction_signing_gateway/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ packages:
description:
path: "packages/cosmos_utils"
ref: main
resolved-ref: "85f1324a2102162102c060420cb31851cff3c7df"
resolved-ref: "79f8b8ebb452ffbe4e3fa092e43824f0d2a79282"
url: "https://github.com/tendermint/flutter.git"
source: git
version: "0.0.1"
Expand Down
4 changes: 2 additions & 2 deletions starport_template/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ SPEC CHECKSUMS:
local_auth: ef62030a2731330b95df7ef1331bd15f6a64b8a6
package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62
share_plus: 056a1e8ac890df3e33cb503afffaf1e9b4fbae68
shared_preferences_ios: aef470a42dc4675a1cdd50e3158b42e3d1232b32
url_launcher_ios: 02f1989d4e14e998335b02b67a7590fa34f971af
shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad
url_launcher_ios: 839c58cdb4279282219f5e248c3321761ff3c4de

PODFILE CHECKSUM: cc1f88378b4bfcf93a6ce00d2c587857c6008d3b

Expand Down
15 changes: 6 additions & 9 deletions starport_template/lib/pages/receive_money_sheet.dart
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import 'package:clipboard/clipboard.dart';
import 'package:cosmos_ui_components/components/cosmos_bottom_sheet_container.dart';
import 'package:cosmos_ui_components/components/cosmos_bottom_sheet_header.dart';
import 'package:cosmos_ui_components/components/cosmos_text_button.dart';
import 'package:cosmos_ui_components/components/gradient_avatar.dart';
import 'package:cosmos_ui_components/cosmos_text_theme.dart';
import 'package:cosmos_ui_components/cosmos_theme.dart';
import 'package:cosmos_ui_components/cosmos_ui_components.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:qr_flutter/qr_flutter.dart';
import 'package:share_plus/share_plus.dart';
import 'package:transaction_signing_gateway/model/wallet_public_info.dart';

Expand All @@ -34,9 +29,11 @@ class ReceiveMoneySheet extends StatelessWidget {
leading: const Icon(Icons.ten_k, color: Colors.transparent),
actions: [CosmosTextButton(text: 'Close', onTap: () => Navigator.of(context).pop())],
),
QrImage(
data: walletInfo.publicAddress,
size: MediaQuery.of(context).size.height / 3.515,
Padding(
padding: EdgeInsets.symmetric(horizontal: MediaQuery.of(context).size.width / 5),
child: CosmosQrImage(
data: walletInfo.publicAddress,
),
),
SizedBox(height: theme.spacingXXL),
Row(
Expand Down
38 changes: 19 additions & 19 deletions starport_template/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ packages:
name: archive
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.9"
version: "3.2.0"
args:
dependency: transitive
description:
Expand Down Expand Up @@ -153,7 +153,7 @@ packages:
description:
path: "packages/cosmos_auth"
ref: main
resolved-ref: "15a1e3a5d107b7c1cdf7145be272720aabf34c48"
resolved-ref: "79f8b8ebb452ffbe4e3fa092e43824f0d2a79282"
url: "https://github.com/tendermint/flutter.git"
source: git
version: "0.0.1"
Expand All @@ -162,7 +162,7 @@ packages:
description:
path: "packages/cosmos_ui_components"
ref: main
resolved-ref: "15a1e3a5d107b7c1cdf7145be272720aabf34c48"
resolved-ref: "79f8b8ebb452ffbe4e3fa092e43824f0d2a79282"
url: "https://github.com/tendermint/flutter.git"
source: git
version: "0.0.1"
Expand All @@ -171,7 +171,7 @@ packages:
description:
path: "packages/cosmos_utils"
ref: main
resolved-ref: "15a1e3a5d107b7c1cdf7145be272720aabf34c48"
resolved-ref: "79f8b8ebb452ffbe4e3fa092e43824f0d2a79282"
url: "https://github.com/tendermint/flutter.git"
source: git
version: "0.0.1"
Expand Down Expand Up @@ -574,7 +574,7 @@ packages:
name: pointycastle
url: "https://pub.dartlang.org"
source: hosted
version: "3.5.0"
version: "3.5.1"
process:
dependency: transitive
description:
Expand Down Expand Up @@ -679,28 +679,28 @@ packages:
name: shared_preferences_android
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.10"
version: "2.0.11"
shared_preferences_ios:
dependency: transitive
description:
name: shared_preferences_ios
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.9"
version: "2.0.10"
shared_preferences_linux:
dependency: transitive
description:
name: shared_preferences_linux
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.4"
version: "2.1.0"
shared_preferences_macos:
dependency: transitive
description:
name: shared_preferences_macos
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.2"
version: "2.0.3"
shared_preferences_platform_interface:
dependency: transitive
description:
Expand All @@ -721,7 +721,7 @@ packages:
name: shared_preferences_windows
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.4"
version: "2.1.0"
sky_engine:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -781,7 +781,7 @@ packages:
description:
path: "packages/transaction_signing_gateway"
ref: main
resolved-ref: "15a1e3a5d107b7c1cdf7145be272720aabf34c48"
resolved-ref: "79f8b8ebb452ffbe4e3fa092e43824f0d2a79282"
url: "https://github.com/tendermint/flutter.git"
source: git
version: "0.0.1"
Expand All @@ -798,35 +798,35 @@ packages:
name: url_launcher
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.18"
version: "6.0.20"
url_launcher_android:
dependency: transitive
description:
name: url_launcher_android
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.14"
version: "6.0.15"
url_launcher_ios:
dependency: transitive
description:
name: url_launcher_ios
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.14"
version: "6.0.15"
url_launcher_linux:
dependency: transitive
description:
name: url_launcher_linux
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
version: "3.0.0"
url_launcher_macos:
dependency: transitive
description:
name: url_launcher_macos
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
version: "3.0.0"
url_launcher_platform_interface:
dependency: transitive
description:
Expand All @@ -847,7 +847,7 @@ packages:
name: url_launcher_windows
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.2"
version: "3.0.0"
uuid:
dependency: "direct main"
description:
Expand Down Expand Up @@ -875,14 +875,14 @@ packages:
name: win32
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.8"
version: "2.4.0"
xdg_directories:
dependency: transitive
description:
name: xdg_directories
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.0"
version: "0.2.0+1"
xml:
dependency: transitive
description:
Expand Down