From 029b9ef498e1995c934d6c716efd0a185d71e6af Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sat, 30 Dec 2023 10:49:05 -0500 Subject: [PATCH] Fix intermediate link bug (#1219) --- lib/main.dart | 2 +- lib/providers/source_provider.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 3466492..84d32d3 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -19,7 +19,7 @@ import 'package:easy_localization/src/easy_localization_controller.dart'; // ignore: implementation_imports import 'package:easy_localization/src/localization.dart'; -const String currentVersion = '0.15.1'; +const String currentVersion = '0.15.2'; const String currentReleaseTag = 'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES diff --git a/lib/providers/source_provider.dart b/lib/providers/source_provider.dart index 39d87bc..ef0aa8d 100644 --- a/lib/providers/source_provider.dart +++ b/lib/providers/source_provider.dart @@ -160,7 +160,7 @@ appJSONCompatibilityModifiers(Map json) { if ((additionalSettings['intermediateLink']?.length ?? 0) > 0) { additionalSettings['intermediateLink'] = additionalSettings['intermediateLink'].where((e) { - return e['intermediateLinkRegex']?.isNotEmpty == true; + return e['customLinkFilterRegex']?.isNotEmpty == true; }).toList(); } } diff --git a/pubspec.yaml b/pubspec.yaml index 943295b..d7524e7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.15.1+237 # When changing this, update the tag in main() accordingly +version: 0.15.2+238 # When changing this, update the tag in main() accordingly environment: sdk: '>=3.0.0 <4.0.0'