Skip to content

Commit 95c9697

Browse files
committed
v6.4.1 updates
1 parent a50cad6 commit 95c9697

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+579
-502
lines changed

LabelStoreMax/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
## [6.4.0] - 2023-01-06
1+
## [6.4.1] - 2023-02-23
2+
3+
* Upgrade to Nylo v4.1.3
4+
* Small refactor to TextStyle
5+
* Fix the ThemeColor.get helper method to support ColorStyles.
6+
* Pubspec.yaml dependency updates
7+
8+
* ## [6.4.0] - 2023-01-06
29

310
* Upgrade to Nylo v4.0.0
411
* Update copyright

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 - v6.4.0
7+
### Label StoreMax - v6.4.1
88

99

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

LabelStoreMax/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 51;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -199,6 +199,7 @@
199199
/* Begin PBXShellScriptBuildPhase section */
200200
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
201201
isa = PBXShellScriptBuildPhase;
202+
alwaysOutOfDate = 1;
202203
buildActionMask = 2147483647;
203204
files = (
204205
);
@@ -213,6 +214,7 @@
213214
};
214215
9740EEB61CF901F6004384FC /* Run Script */ = {
215216
isa = PBXShellScriptBuildPhase;
217+
alwaysOutOfDate = 1;
216218
buildActionMask = 2147483647;
217219
files = (
218220
);

LabelStoreMax/ios/Runner/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,7 @@
6363
<false/>
6464
<key>CADisableMinimumFrameDurationOnPhone</key>
6565
<true/>
66+
<key>UIApplicationSupportsIndirectInputEvents</key>
67+
<true/>
6668
</dict>
6769
</plist>

LabelStoreMax/lib/app/providers/app_provider.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ class AppProvider implements NyProvider {
110110

111111
nylo.appThemes = appThemes;
112112
nylo.appLoader = loader;
113+
nylo.appLogo = logo;
113114

114115
String initialRoute = AppHelper.instance.appConfig!.appStatus != null
115116
? '/home'

LabelStoreMax/lib/bootstrap/helpers.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,18 @@ class ThemeColor {
5656
static ColorStyles get(BuildContext context, {String? themeId}) {
5757

5858
Nylo nylo = Backpack.instance.read('nylo');
59-
List<BaseThemeConfig> appThemes = nylo.appThemes;
59+
List<BaseThemeConfig<ColorStyles>> appThemes = nylo.appThemes as List<BaseThemeConfig<ColorStyles>>;
6060

6161
if (themeId == null) {
62-
dynamic themeFound = appThemes
62+
BaseThemeConfig<ColorStyles> themeFound = appThemes
6363
.firstWhere(
6464
(theme) => theme.id == getEnv(Theme.of(context).brightness == Brightness.light ? 'LIGHT_THEME_ID' : 'DARK_THEME_ID'),
6565
orElse: () => appThemes.first
6666
);
6767
return themeFound.colors;
6868
}
6969

70-
dynamic baseThemeConfig = appThemes.firstWhere((theme) => theme.id == themeId, orElse: () => appThemes.first);
70+
BaseThemeConfig<ColorStyles> baseThemeConfig = appThemes.firstWhere((theme) => theme.id == themeId, orElse: () => appThemes.first);
7171
return baseThemeConfig.colors;
7272
}
7373
}

LabelStoreMax/lib/config/design.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import 'package:flutter/cupertino.dart';
22
import 'package:flutter_app/resources/widgets/app_loader_widget.dart';
3+
import 'package:flutter_app/resources/widgets/woosignal_ui.dart';
34

45
/*
56
|--------------------------------------------------------------------------
@@ -10,4 +11,8 @@ import 'package:flutter_app/resources/widgets/app_loader_widget.dart';
1011
|--------------------------------------------------------------------------
1112
*/
1213

14+
Widget logo = StoreLogo();
15+
// resources/widgets/woosignal_ui.dart
16+
1317
Widget loader = AppLoaderWidget();
18+
// resources/widgets/app_loader_widget.dart

LabelStoreMax/lib/config/theme.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import 'package:nylo_framework/nylo_framework.dart';
1212
*/
1313

1414
// App Themes
15-
final List<BaseThemeConfig> appThemes = [
15+
final List<BaseThemeConfig<ColorStyles>> appThemes = [
1616
ThemeConfig.light(),
1717
ThemeConfig.dark(),
1818
];
@@ -38,15 +38,15 @@ ColorStyles darkColors = DarkThemeColors();
3838
// Preset Themes
3939
class ThemeConfig {
4040
// LIGHT
41-
static BaseThemeConfig light() => BaseThemeConfig(
41+
static BaseThemeConfig<ColorStyles> light() => BaseThemeConfig<ColorStyles>(
4242
id: "default_light_theme",
4343
description: "Light theme",
4444
theme: lightTheme(lightColors),
4545
colors: lightColors,
4646
);
4747

4848
// DARK
49-
static BaseThemeConfig dark() => BaseThemeConfig(
49+
static BaseThemeConfig<ColorStyles> dark() => BaseThemeConfig<ColorStyles>(
5050
id: "default_dark_theme",
5151
description: "Dark theme",
5252
theme: darkTheme(darkColors),
@@ -60,10 +60,10 @@ class ThemeConfig {
6060

6161
// First add the colors which was created into the above section like the following:
6262
// Bright Colors
63-
/// BaseColorStyles brightColors = BrightThemeColors();
63+
/// ColorStyles brightColors = BrightThemeColors();
6464
6565
// Next, uncomment the below:
66-
/// static BaseThemeConfig bright() => BaseThemeConfig(
66+
/// static BaseThemeConfig<ColorStyles> bright() => BaseThemeConfig<ColorStyles>(
6767
/// id: "default_bright_theme",
6868
/// description: "Bright theme",
6969
/// theme: brightTheme(brightColors),

LabelStoreMax/lib/main.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import 'package:flutter/material.dart';
22
import 'package:flutter_app/bootstrap/app.dart';
3-
import 'package:flutter_app/bootstrap/app_helper.dart';
43
import 'package:flutter_app/bootstrap/boot.dart';
54
import 'package:nylo_framework/nylo_framework.dart';
65

LabelStoreMax/lib/resources/pages/account_delete_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class _AccountDeletePageState extends NyState<AccountDeletePage> {
5151
Icon(Icons.no_accounts_rounded, size: 50),
5252
Text(
5353
trans("Delete your account"),
54-
style: textTheme.headline3,
54+
style: textTheme.displaySmall,
5555
),
5656
Padding(
5757
padding: const EdgeInsets.only(top: 18),

0 commit comments

Comments
 (0)