Skip to content

Commit 2580b11

Browse files
authored
Merge pull request #32 from woosignal/master
v5.7.2 - updates
2 parents 2d8a480 + e492dfb commit 2580b11

16 files changed

+142
-88
lines changed

LabelStoreMax/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [5.7.2] - 2022-02-12
2+
3+
* Button UI loading state added
4+
* Fix payments on Android for Stripe
5+
* v2 embedding for Android
6+
17
## [5.7.1] - 2022-02-07
28

39
* Refactor account order detail page

LabelStoreMax/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# WooCommerce App: Label StoreMax
66

7-
### Label StoreMax - v5.7.1
7+
### Label StoreMax - v5.7.2
88

99

1010
[Official WooSignal WooCommerce App](https://woosignal.com)

LabelStoreMax/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ android {
3030
exclude 'META-INF/DEPENDENCIES'
3131
}
3232

33-
compileSdkVersion 30
33+
compileSdkVersion 31
3434

3535
sourceSets {
3636
main.java.srcDirs += 'src/main/kotlin'

LabelStoreMax/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<uses-permission android:name="android.permission.VIBRATE"/>
1212

1313
<application
14-
android:name="io.flutter.app.FlutterApplication"
14+
android:name="${applicationName}"
1515
android:label="Label StoreMax"
1616
android:icon="@mipmap/launcher_icon">
1717
<activity
@@ -43,14 +43,6 @@
4343
<action android:name="android.intent.action.MAIN"/>
4444
<category android:name="android.intent.category.LAUNCHER"/>
4545
</intent-filter>
46-
<intent-filter>
47-
<action android:name="android.intent.action.VIEW" />
48-
<category android:name="android.intent.category.DEFAULT" />
49-
<category android:name="android.intent.category.BROWSABLE" />
50-
<data
51-
android:scheme="stripesdk"
52-
android:host="3ds.stripesdk.io" />
53-
</intent-filter>
5446
</activity>
5547
<!-- Don't delete the meta-data below.
5648
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->

LabelStoreMax/android/app/src/main/res/values/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33
<!-- Theme applied to the Android Window while the process is starting -->
4-
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
4+
<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
55
<!-- Show a splash screen on the activity. Automatically removed when
66
Flutter draws its first frame -->
77
<item name="android:windowBackground">@drawable/launch_background</item>

LabelStoreMax/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:4.1.2'
9+
classpath 'com.android.tools.build:gradle:4.2.2'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
}
1212
}

LabelStoreMax/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip

LabelStoreMax/lib/resources/pages/account_billing_details.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,9 @@ class _AccountBillingDetailsPageState extends State<AccountBillingDetailsPage> {
172172
children: <Widget>[
173173
PrimaryButton(
174174
title: trans("UPDATE DETAILS"),
175-
action:
176-
_isUpdating ? () {} : _updateBillingDetails),
175+
isLoading: _isUpdating,
176+
action: _updateBillingDetails,
177+
),
177178
],
178179
),
179180
],

LabelStoreMax/lib/resources/pages/account_landing.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ class _AccountLandingPageState extends State<AccountLandingPage> {
9898
obscureText: true),
9999
PrimaryButton(
100100
title: trans("Login"),
101-
action: _hasTappedLogin == true ? () {} : _loginUser,
101+
isLoading: _hasTappedLogin,
102+
action: _loginUser,
102103
),
103104
],
104105
),

LabelStoreMax/lib/resources/pages/account_profile_update.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ class _AccountProfileUpdatePageState extends State<AccountProfileUpdatePage> {
109109
),
110110
PrimaryButton(
111111
title: trans("Update details"),
112-
action: _updateDetails)
112+
isLoading: isLoading,
113+
action: _updateDetails,
114+
)
113115
],
114116
),
115117
margin: EdgeInsets.all(8),

0 commit comments

Comments
 (0)