Merge pull request #19 from woosignal/master

v5.3.1
This commit is contained in:
Anthony Gordon 2021-11-17 18:31:28 +00:00 committed by GitHub
commit 2b8d35bda6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 37 additions and 20 deletions

View File

@ -1,3 +1,9 @@
## [5.3.1] - 2021-11-17
* Fix shipping method not handling async call
* Update UI for customer_countries page
* Pubspec.yaml dependency updates
## [5.3.0] - 2021-11-02 ## [5.3.0] - 2021-11-02
* Ability to update payment providers via WooSignal Dashboard * Ability to update payment providers via WooSignal Dashboard

View File

@ -4,7 +4,7 @@
# WooCommerce App: Label StoreMax # WooCommerce App: Label StoreMax
### Label StoreMax - v5.3.0 ### Label StoreMax - v5.3.1
[Official WooSignal WooCommerce App](https://woosignal.com) [Official WooSignal WooCommerce App](https://woosignal.com)

View File

@ -98,12 +98,12 @@ class _CheckoutShippingTypePageState extends State<CheckoutShippingTypePage> {
} }
} }
_handleShippingZones(_shipping); await _handleShippingZones(_shipping);
if (_shipping == null) { if (_shipping == null) {
WSShipping noZones = wsShipping WSShipping noZones = wsShipping
.firstWhere((element) => element.parentId == 0, orElse: () => null); .firstWhere((element) => element.parentId == 0, orElse: () => null);
_handleShippingZones(noZones); await _handleShippingZones(noZones);
} }
if (_wsShippingOptions.length == 0) { if (_wsShippingOptions.length == 0) {
_isShippingSupported = false; _isShippingSupported = false;

View File

@ -11,6 +11,7 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_app/app/models/default_shipping.dart'; import 'package:flutter_app/app/models/default_shipping.dart';
import 'package:flutter_app/bootstrap/helpers.dart'; import 'package:flutter_app/bootstrap/helpers.dart';
import 'package:flutter_app/config/app_theme.dart';
import 'package:flutter_app/resources/widgets/woosignal_ui.dart'; import 'package:flutter_app/resources/widgets/woosignal_ui.dart';
import 'package:nylo_support/helpers/helper.dart'; import 'package:nylo_support/helpers/helper.dart';
@ -55,7 +56,7 @@ class _CustomerCountriesPageState extends State<CustomerCountriesPage> {
children: [ children: [
Container( Container(
padding: EdgeInsets.symmetric(vertical: 4, horizontal: 16), padding: EdgeInsets.symmetric(vertical: 4, horizontal: 16),
margin: EdgeInsets.only(bottom: 10), margin: EdgeInsets.only(bottom: 10, top: 10),
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.circular(18), borderRadius: BorderRadius.circular(18),
boxShadow: [ boxShadow: [
@ -66,6 +67,7 @@ class _CustomerCountriesPageState extends State<CustomerCountriesPage> {
offset: Offset(0, 2), offset: Offset(0, 2),
), ),
], ],
color: NyColors.of(context).background
), ),
height: 60, height: 60,
child: Row( child: Row(
@ -83,6 +85,15 @@ class _CustomerCountriesPageState extends State<CustomerCountriesPage> {
onChanged: _handleOnChanged, onChanged: _handleOnChanged,
decoration: InputDecoration( decoration: InputDecoration(
border: InputBorder.none, border: InputBorder.none,
contentPadding: EdgeInsets.all(0),
enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.circular(100),
borderSide: BorderSide.none,
),
focusedBorder: OutlineInputBorder(
borderRadius: BorderRadius.circular(100),
borderSide: BorderSide.none,
),
), ),
), ),
), ),

View File

@ -70,7 +70,7 @@ packages:
name: cached_network_image name: cached_network_image
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.1.0" version: "3.1.0+1"
cached_network_image_platform_interface: cached_network_image_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -147,7 +147,7 @@ packages:
name: cupertino_icons name: cupertino_icons
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.3" version: "1.0.4"
device_info: device_info:
dependency: transitive dependency: transitive
description: description:
@ -276,7 +276,7 @@ packages:
name: flutter_stripe name: flutter_stripe
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.1" version: "2.0.2"
flutter_styled_toast: flutter_styled_toast:
dependency: "direct main" dependency: "direct main"
description: description:
@ -669,21 +669,21 @@ packages:
name: stripe_android name: stripe_android
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "2.0.2"
stripe_ios: stripe_ios:
dependency: transitive dependency: transitive
description: description:
name: stripe_ios name: stripe_ios
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "2.0.2"
stripe_platform_interface: stripe_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: stripe_platform_interface name: stripe_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "2.0.2"
synchronized: synchronized:
dependency: transitive dependency: transitive
description: description:
@ -753,14 +753,14 @@ packages:
name: webview_flutter name: webview_flutter
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.1" version: "2.3.1"
webview_flutter_android: webview_flutter_android:
dependency: transitive dependency: transitive
description: description:
name: webview_flutter_android name: webview_flutter_android
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.15" version: "2.2.1"
webview_flutter_platform_interface: webview_flutter_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -774,7 +774,7 @@ packages:
name: webview_flutter_wkwebview name: webview_flutter_wkwebview
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.14" version: "2.2.0"
win32: win32:
dependency: transitive dependency: transitive
description: description:

View File

@ -1,7 +1,7 @@
# Official WooSignal App Template for WooCommerce # Official WooSignal App Template for WooCommerce
# Label StoreMax # Label StoreMax
# Version: 5.3.0 # Version: 5.3.1
# Author: Anthony Gordon # Author: Anthony Gordon
# Homepage: https://woosignal.com # Homepage: https://woosignal.com
# Documentation: https://woosignal.com/docs/app/label-storemax # Documentation: https://woosignal.com/docs/app/label-storemax
@ -31,14 +31,14 @@ dependencies:
page_transition: ^2.0.4 page_transition: ^2.0.4
nylo_framework: ^2.0.4 nylo_framework: ^2.0.4
woosignal: ^2.2.1 woosignal: ^2.2.1
flutter_stripe: ^2.0.1 flutter_stripe: ^2.0.2
wp_json_api: ^3.1.3 wp_json_api: ^3.1.3
cached_network_image: ^3.1.0 cached_network_image: ^3.1.0+1
package_info: ^2.0.2 package_info: ^2.0.2
money_formatter: ^0.0.3 money_formatter: ^0.0.3
platform_alert_dialog: ^1.0.0+2 platform_alert_dialog: ^1.0.0+2
flutter_web_browser: ^0.15.0 flutter_web_browser: ^0.15.0
webview_flutter: ^2.1.1 webview_flutter: ^2.3.1
pull_to_refresh: 2.0.0 pull_to_refresh: 2.0.0
flutter_swiper: ^1.1.6 flutter_swiper: ^1.1.6
flutter_styled_toast: ^2.0.0 flutter_styled_toast: ^2.0.0
@ -58,7 +58,7 @@ dependencies:
# The following adds the Cupertino Icons font to your application. # The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons. # Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.3 cupertino_icons: ^1.0.4
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:

View File

@ -1,10 +1,10 @@
<p align="center"> <p align="center">
<img width="200" height="125" src="https://www.woosignal.com/images/woosignal_logo_stripe_blue.png" alt="WooSignal logo"> <img width="200" height="125" src="https://woosignal.com/images/woosignal_logo_stripe_blue.png" alt="WooSignal logo">
</p> </p>
# WooCommerce App: Label StoreMax # WooCommerce App: Label StoreMax
### Label StoreMax - v5.3.0 ### Label StoreMax - v5.3.1
[Official WooSignal WooCommerce App](https://woosignal.com) [Official WooSignal WooCommerce App](https://woosignal.com)