diff --git a/CHANGELOG.md b/CHANGELOG.md index 07634b9f7..e59926312 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,27 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2024-12-19 + +### Changes + +--- + +Packages with breaking changes: + + - There are no breaking changes in this release. + +Packages with other changes: + + - [`deriv_mobile_chart_wrapper` - `v0.1.10+1`](#deriv_mobile_chart_wrapper---v01101) + +--- + +#### `deriv_mobile_chart_wrapper` - `v0.1.10+1` + + - **FIX**(deriv_mobile_chart_wrapper): [GRWT-3474] Point_Highlight_Enlarges_when_navigating_back_to_same_chart_view ([#918](https://github.com/regentmarkets/flutter-deriv-packages/issues/918)). ([c751b552](https://github.com/regentmarkets/flutter-deriv-packages/commit/c751b552915c91e9386a90143a2291b512cd3dbd)) + + ## 2024-12-12 ### Changes diff --git a/README.md b/README.md index 515c24f4a..1c2cc8ee4 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ deriv_ui: | [form_builder](./packages/form_builder) | A simpler and cleaner way to create, validate and submit forms. | [v1.0.0+1](./packages/form_builder/CHANGELOG.md) | | [update_checker](./packages/update_checker) | Check and retrieve update information from the server for the given package. | [v3.1.1](./packages/update_checker/CHANGELOG.md) | | [deriv_feature_flag](./packages/deriv_feature_flag) | A package to provide feature flag functionality for apps. | [v0.1.2](./packages/deriv_feature_flag/CHANGELOG.md) | -| [deriv_mobile_chart_wrapper](./packages/deriv_mobile_chart_wrapper) | A wrapper package around package _**deriv_chart**_ to implement any functionality specific to mobile and can be wrapped around the main chart package. | [v0.1.10](./packages/deriv_mobile_chart_wrapper/CHANGELOG.md) | +| [deriv_mobile_chart_wrapper](./packages/deriv_mobile_chart_wrapper) | A wrapper package around package _**deriv_chart**_ to implement any functionality specific to mobile and can be wrapped around the main chart package. | [v0.1.10+1](./packages/deriv_mobile_chart_wrapper/CHANGELOG.md) | | [deriv_cipher](./packages/deriv_cipher) | A package to encrypt and decrypt data using AES encryption.| [v0.0.2](./packages/deriv_cipher/CHANGELOG.md) | diff --git a/packages/deriv_mobile_chart_wrapper/CHANGELOG.md b/packages/deriv_mobile_chart_wrapper/CHANGELOG.md index 1e02e1797..f59017c9f 100644 --- a/packages/deriv_mobile_chart_wrapper/CHANGELOG.md +++ b/packages/deriv_mobile_chart_wrapper/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.10+1 + + - **FIX**(deriv_mobile_chart_wrapper): [GRWT-3474] Point_Highlight_Enlarges_when_navigating_back_to_same_chart_view ([#918](https://github.com/regentmarkets/flutter-deriv-packages/issues/918)). ([c751b552](https://github.com/regentmarkets/flutter-deriv-packages/commit/c751b552915c91e9386a90143a2291b512cd3dbd)) + ## 0.1.10 - **FEAT**(deriv_mobile_chart_wrapper): [GRWT-3362] update chart package version ([#919](https://github.com/regentmarkets/flutter-deriv-packages/issues/919)). ([d79b9d5e](https://github.com/regentmarkets/flutter-deriv-packages/commit/d79b9d5e9d7216085e60c49be98a8cd0a7caea18)) diff --git a/packages/deriv_mobile_chart_wrapper/lib/src/constants.dart b/packages/deriv_mobile_chart_wrapper/lib/src/constants.dart index 2f79b333d..c834196c3 100644 --- a/packages/deriv_mobile_chart_wrapper/lib/src/constants.dart +++ b/packages/deriv_mobile_chart_wrapper/lib/src/constants.dart @@ -2,7 +2,7 @@ import 'package:deriv_chart/deriv_chart.dart'; // A set of drawing tool types that has to show drawing tool info bar. const Set drawingToolTypesToShowInfoBar = { - LineDrawingToolConfig, + LineDrawingToolConfigMobile, RayDrawingToolConfig, }; diff --git a/packages/deriv_mobile_chart_wrapper/lib/src/helpers.dart b/packages/deriv_mobile_chart_wrapper/lib/src/helpers.dart index 941372ef5..01831d85c 100644 --- a/packages/deriv_mobile_chart_wrapper/lib/src/helpers.dart +++ b/packages/deriv_mobile_chart_wrapper/lib/src/helpers.dart @@ -50,7 +50,7 @@ String getIndicatorIconPath(IndicatorConfig config) { /// for the given [drawingToolType]. String getDrawingToolIconPath(Type drawingToolType) { switch (drawingToolType) { - case LineDrawingToolConfig: + case LineDrawingToolConfigMobile: return lineIcon; case RayDrawingToolConfig: return rsiIcon; @@ -70,8 +70,12 @@ List getDrawingToolsList( DrawingToolItemModel( title: context.mobileChartWrapperLocalizations.labelLine, icon: lineIcon, - config: const LineDrawingToolConfig( - lineStyle: LineStyle(thickness: 0.9, color: BrandColors.coral), + config: const LineDrawingToolConfigMobile( + lineStyle: LineStyle( + thickness: 0.9, + color: BrandColors.coral, + markerRadius: 4, + ), ), ), // Add more drawing tools here. @@ -99,7 +103,7 @@ String getDrawingToolTitle( DrawingToolConfig config, ) { switch (config.runtimeType) { - case LineDrawingToolConfig: + case LineDrawingToolConfigMobile: return context.mobileChartWrapperLocalizations.labelLine; case RayDrawingToolConfig: return context.mobileChartWrapperLocalizations.labelRay; diff --git a/packages/deriv_mobile_chart_wrapper/lib/src/mobile_tools_ui/drawing_tools/drawing_tool_info_bar.dart b/packages/deriv_mobile_chart_wrapper/lib/src/mobile_tools_ui/drawing_tools/drawing_tool_info_bar.dart index a9e8edd88..0435e5aa3 100644 --- a/packages/deriv_mobile_chart_wrapper/lib/src/mobile_tools_ui/drawing_tools/drawing_tool_info_bar.dart +++ b/packages/deriv_mobile_chart_wrapper/lib/src/mobile_tools_ui/drawing_tools/drawing_tool_info_bar.dart @@ -121,7 +121,7 @@ class DrawingToolInfoBar extends StatelessWidget BuildContext context, { required DrawingToolConfig drawingTool, }) { - if (drawingTool is LineDrawingToolConfig || + if (drawingTool is LineDrawingToolConfigMobile || drawingTool is RayDrawingToolConfig) { final bool isDrawingToolSelected = toolsController.drawingToolsData?.selectedDrawingTool?.drawingData == diff --git a/packages/deriv_mobile_chart_wrapper/lib/src/mobile_tools_ui/tools_controller.dart b/packages/deriv_mobile_chart_wrapper/lib/src/mobile_tools_ui/tools_controller.dart index a22d9943b..8410fc0a8 100644 --- a/packages/deriv_mobile_chart_wrapper/lib/src/mobile_tools_ui/tools_controller.dart +++ b/packages/deriv_mobile_chart_wrapper/lib/src/mobile_tools_ui/tools_controller.dart @@ -14,7 +14,7 @@ class ToolsController extends ChangeNotifier { ContinuousDrawingToolConfig, FibfanDrawingToolConfig, HorizontalDrawingToolConfig, - LineDrawingToolConfig, + LineDrawingToolConfigMobile, RayDrawingToolConfig, RectangleDrawingToolConfig, TrendDrawingToolConfig, diff --git a/packages/deriv_mobile_chart_wrapper/pubspec.yaml b/packages/deriv_mobile_chart_wrapper/pubspec.yaml index 887c6758d..2f286324e 100644 --- a/packages/deriv_mobile_chart_wrapper/pubspec.yaml +++ b/packages/deriv_mobile_chart_wrapper/pubspec.yaml @@ -1,7 +1,7 @@ name: deriv_mobile_chart_wrapper description: A new Flutter package project. publish_to: "none" # Remove this line if you wish to publish to pub.dev -version: 0.1.10 +version: 0.1.10+1 homepage: environment: @@ -14,7 +14,7 @@ dependencies: deriv_chart: git: url: git@github.com:regentmarkets/flutter-chart.git - ref: v0.3.3 + ref: v0.3.4 deriv_theme: git: