From b63f50d5ada6e0dae8b200c84043cd4d49a5f13d Mon Sep 17 00:00:00 2001 From: Chris Yang Date: Mon, 27 Jan 2020 12:18:59 -0800 Subject: [PATCH] fix ci --- packages/espresso/CHANGELOG.md | 4 ++++ packages/espresso/example/lib/main.dart | 1 - packages/espresso/pubspec.yaml | 2 +- packages/in_app_purchase/CHANGELOG.md | 6 +++++- packages/in_app_purchase/example/lib/main.dart | 9 +++------ packages/in_app_purchase/pubspec.yaml | 2 +- 6 files changed, 14 insertions(+), 10 deletions(-) diff --git a/packages/espresso/CHANGELOG.md b/packages/espresso/CHANGELOG.md index 32fdf151ac94..3d8490ae0a35 100644 --- a/packages/espresso/CHANGELOG.md +++ b/packages/espresso/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.1+2 + +* Update te example app to avoid using deprecated api. + ## 0.0.1+1 * Updates to README to avoid unnecessary imports and warnings. diff --git a/packages/espresso/example/lib/main.dart b/packages/espresso/example/lib/main.dart index 4c9301b93460..c74423f507e8 100644 --- a/packages/espresso/example/lib/main.dart +++ b/packages/espresso/example/lib/main.dart @@ -94,7 +94,6 @@ class _MyHomePageState extends State<_MyHomePage> { children: [ Text( 'Button tapped $_counter time${_counter == 1 ? '' : 's'}.', - style: Theme.of(context).textTheme.display1, key: ValueKey('CountText'), ), ], diff --git a/packages/espresso/pubspec.yaml b/packages/espresso/pubspec.yaml index 0e795a498598..6324c2d4711e 100644 --- a/packages/espresso/pubspec.yaml +++ b/packages/espresso/pubspec.yaml @@ -1,6 +1,6 @@ name: espresso description: Java classes for testing Flutter apps using Espresso. -version: 0.0.1+1 +version: 0.0.1+2 homepage: https://github.com/flutter/plugins/espresso environment: diff --git a/packages/in_app_purchase/CHANGELOG.md b/packages/in_app_purchase/CHANGELOG.md index 20bd9c0f2a0d..e5dcdfe54032 100644 --- a/packages/in_app_purchase/CHANGELOG.md +++ b/packages/in_app_purchase/CHANGELOG.md @@ -1,6 +1,10 @@ +## 0.3.0+2 + +* Update te example app to avoid using deprecated api. + ## 0.3.0+1 -* Fixing usage example. No functional changes. +* Fixing usage example. No functional changes. ## 0.3.0 diff --git a/packages/in_app_purchase/example/lib/main.dart b/packages/in_app_purchase/example/lib/main.dart index 102b877905cc..83b4e743dc94 100644 --- a/packages/in_app_purchase/example/lib/main.dart +++ b/packages/in_app_purchase/example/lib/main.dart @@ -213,9 +213,7 @@ class _MyAppState extends State { if (!_isAvailable) { return Card(); } - final ListTile productHeader = ListTile( - title: Text('Products for Sale', - style: Theme.of(context).textTheme.headline)); + final ListTile productHeader = ListTile(title: Text('Products for Sale')); List productList = []; if (_notFoundIds.isNotEmpty) { productList.add(ListTile( @@ -284,9 +282,8 @@ class _MyAppState extends State { if (!_isAvailable || _notFoundIds.contains(_kConsumableId)) { return Card(); } - final ListTile consumableHeader = ListTile( - title: Text('Purchased consumables', - style: Theme.of(context).textTheme.headline)); + final ListTile consumableHeader = + ListTile(title: Text('Purchased consumables')); final List tokens = _consumables.map((String id) { return GridTile( child: IconButton( diff --git a/packages/in_app_purchase/pubspec.yaml b/packages/in_app_purchase/pubspec.yaml index 1fa59626f2d1..a3a40a8e3eab 100644 --- a/packages/in_app_purchase/pubspec.yaml +++ b/packages/in_app_purchase/pubspec.yaml @@ -1,7 +1,7 @@ name: in_app_purchase description: A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play. homepage: https://github.com/flutter/plugins/tree/master/packages/in_app_purchase -version: 0.3.0+1 +version: 0.3.0+2 dependencies: