v5.0.3 updates
This commit is contained in:
parent
d08d1b0fe3
commit
f0c7769b68
@ -1,3 +1,9 @@
|
||||
## [5.0.3] - 2020-04-27
|
||||
|
||||
* Fix issue account page when logged in for Notic theme
|
||||
* Small tweak to helpers.dart
|
||||
* Pubspec.yaml dependency updates
|
||||
|
||||
## [5.0.2] - 2020-04-17
|
||||
|
||||
* Fix issue with PayPal checkout when using different locales
|
||||
|
||||
@ -246,8 +246,7 @@ showToastNotification(BuildContext context,
|
||||
|
||||
String parseHtmlString(String htmlString) {
|
||||
var document = parse(htmlString);
|
||||
String parsedString = parse(document.body.text).documentElement.text;
|
||||
return parsedString;
|
||||
return parse(document.body.text).documentElement.text;
|
||||
}
|
||||
|
||||
String moneyFormatter(double amount) {
|
||||
|
||||
@ -24,6 +24,8 @@ import 'package:wp_json_api/models/responses/wc_customer_info_response.dart';
|
||||
import 'package:wp_json_api/wp_json_api.dart';
|
||||
|
||||
class AccountDetailPage extends StatefulWidget {
|
||||
final bool showLeadingBackButton;
|
||||
const AccountDetailPage({this.showLeadingBackButton = true});
|
||||
@override
|
||||
_AccountDetailPageState createState() => _AccountDetailPageState();
|
||||
}
|
||||
@ -102,13 +104,13 @@ class _AccountDetailPageState extends State<AccountDetailPage>
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
backgroundColor: Colors.transparent,
|
||||
leading: Container(
|
||||
leading: widget.showLeadingBackButton ? Container(
|
||||
child: IconButton(
|
||||
icon: Icon(Icons.arrow_back_ios),
|
||||
onPressed: () => Navigator.pop(context),
|
||||
),
|
||||
margin: EdgeInsets.only(left: 0),
|
||||
),
|
||||
) : Container(),
|
||||
title: Text(
|
||||
trans(context, "Account"),
|
||||
style: Theme.of(context).textTheme.headline6,
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_app/bootstrap/app_helper.dart';
|
||||
import 'package:flutter_app/bootstrap/shared_pref/sp_auth.dart';
|
||||
import 'package:flutter_app/resources/pages/account_detail.dart';
|
||||
import 'package:flutter_app/resources/pages/account_landing.dart';
|
||||
import 'package:flutter_app/resources/pages/cart.dart';
|
||||
import 'package:flutter_app/resources/pages/home_search.dart';
|
||||
@ -62,13 +64,13 @@ class _NoticThemeWidgetState extends State<NoticThemeWidget> {
|
||||
);
|
||||
}
|
||||
|
||||
_onTabTapped(int i) {
|
||||
_onTabTapped(int i) async {
|
||||
_currentIndex = i;
|
||||
_changeMainWidget();
|
||||
await _changeMainWidget();
|
||||
setState(() {});
|
||||
}
|
||||
|
||||
_changeMainWidget() {
|
||||
_changeMainWidget() async {
|
||||
switch (_currentIndex) {
|
||||
case 0:
|
||||
{
|
||||
@ -87,7 +89,7 @@ class _NoticThemeWidgetState extends State<NoticThemeWidget> {
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
activeWidget = AccountLandingPage();
|
||||
activeWidget = (await authCheck()) ? AccountDetailPage(showLeadingBackButton: false) : AccountLandingPage();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -7,21 +7,21 @@ packages:
|
||||
name: _fe_analyzer_shared
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "20.0.0"
|
||||
version: "21.0.0"
|
||||
adaptive_theme:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: adaptive_theme
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.1"
|
||||
version: "2.2.0"
|
||||
analyzer:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: analyzer
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.4.0"
|
||||
version: "1.5.0"
|
||||
animate_do:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@ -538,7 +538,7 @@ packages:
|
||||
name: pull_to_refresh
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.6.4"
|
||||
version: "1.6.5"
|
||||
queue:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# Official WooSignal App Template for WooCommerce
|
||||
|
||||
# Label StoreMax
|
||||
# Version: 5.0.2
|
||||
# Version: 5.0.3
|
||||
# Author: Anthony Gordon
|
||||
# Homepage: https://woosignal.com
|
||||
# Documentation: https://woosignal.com/docs/app/ios/label-storemax
|
||||
@ -26,8 +26,8 @@ environment:
|
||||
|
||||
dependencies:
|
||||
google_fonts: ^2.0.0
|
||||
analyzer: ^1.3.0
|
||||
adaptive_theme: ^2.0.0
|
||||
analyzer: ^1.5.0
|
||||
adaptive_theme: ^2.2.0
|
||||
intl: ^0.17.0
|
||||
page_transition: ^2.0.1-nullsafety.0
|
||||
nylo_framework: ^0.8.2
|
||||
@ -41,7 +41,7 @@ dependencies:
|
||||
platform_alert_dialog: ^1.0.0+2
|
||||
flutter_web_browser: ^0.14.0
|
||||
flutter_webview_plugin: ^0.3.11
|
||||
pull_to_refresh: 1.6.4
|
||||
pull_to_refresh: 1.6.5
|
||||
flutter_swiper: ^1.1.6
|
||||
flutter_styled_toast: ^2.0.0
|
||||
animate_do: ^2.0.0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user