From 8346548a4a1dfd49c5d097b64c518b6861309afc Mon Sep 17 00:00:00 2001 From: Sardar1208 Date: Wed, 31 Jan 2024 20:01:08 +0530 Subject: [PATCH 1/3] chore: updated textScaleFactor to textScaler --- .../at_contacts_flutter/lib/widgets/add_contacts_dialog.dart | 2 +- packages/at_contacts_flutter/lib/widgets/common_button.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/at_contacts_flutter/lib/widgets/add_contacts_dialog.dart b/packages/at_contacts_flutter/lib/widgets/add_contacts_dialog.dart index 7dbd4b71e..e68d96f84 100644 --- a/packages/at_contacts_flutter/lib/widgets/add_contacts_dialog.dart +++ b/packages/at_contacts_flutter/lib/widgets/add_contacts_dialog.dart @@ -47,7 +47,7 @@ class _AddContactDialogState extends State { @override Widget build(BuildContext context) { var contactService = ContactService(); - var deviceTextFactor = MediaQuery.of(context).textScaleFactor; + var deviceTextFactor = MediaQuery.of(context).textScaler.scale(20) / 20; return SizedBox( height: 140.toHeight * deviceTextFactor, width: 100.toWidth, diff --git a/packages/at_contacts_flutter/lib/widgets/common_button.dart b/packages/at_contacts_flutter/lib/widgets/common_button.dart index abbc33380..2dd2d54e8 100644 --- a/packages/at_contacts_flutter/lib/widgets/common_button.dart +++ b/packages/at_contacts_flutter/lib/widgets/common_button.dart @@ -25,7 +25,7 @@ class CommonButton extends StatelessWidget { @override Widget build(BuildContext context) { - double deviceTextFactor = MediaQuery.of(context).textScaleFactor; + var deviceTextFactor = MediaQuery.of(context).textScaler.scale(20) / 20; return InkWell( onTap: onTap, child: Container( From 8519499a8373d5c6712c13cb539aac87147ed9bf Mon Sep 17 00:00:00 2001 From: Sardar1208 Date: Fri, 9 Feb 2024 12:10:06 +0530 Subject: [PATCH 2/3] feat/release changes v4.0.14 --- packages/at_contacts_flutter/CHANGELOG.md | 4 ++++ packages/at_contacts_flutter/pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/at_contacts_flutter/CHANGELOG.md b/packages/at_contacts_flutter/CHANGELOG.md index 64791c8e3..2d954f516 100644 --- a/packages/at_contacts_flutter/CHANGELOG.md +++ b/packages/at_contacts_flutter/CHANGELOG.md @@ -1,3 +1,7 @@ +## 4.0.14 +- **CHORE**: Bumped up dependency versions + - Major version increase of at_commons from ^3.0.55 to ^4.0.1 + ## 4.0.13 - **FIX**: Fixed methods for fetching profile picture diff --git a/packages/at_contacts_flutter/pubspec.yaml b/packages/at_contacts_flutter/pubspec.yaml index a13d37b8f..f8a5e42fe 100644 --- a/packages/at_contacts_flutter/pubspec.yaml +++ b/packages/at_contacts_flutter/pubspec.yaml @@ -1,7 +1,7 @@ name: at_contacts_flutter description: A Flutter plugin project to provide ease of managing contacts for an atSign using atPlatform. -version: 4.0.13 +version: 4.0.14 homepage: https://docs.atsign.com/ repository: https://github.com/atsign-foundation/at_widgets/tree/trunk/packages/at_contacts_flutter issue_tracker: https://github.com/atsign-foundation/at_widgets/issues From 860259f5fc19a9fea7d193d7b5450561a3e32302 Mon Sep 17 00:00:00 2001 From: Sardar1208 Date: Fri, 9 Feb 2024 12:25:04 +0530 Subject: [PATCH 3/3] feat/updated changelogs --- packages/at_contacts_flutter/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/at_contacts_flutter/CHANGELOG.md b/packages/at_contacts_flutter/CHANGELOG.md index 2d954f516..8c96f9b4a 100644 --- a/packages/at_contacts_flutter/CHANGELOG.md +++ b/packages/at_contacts_flutter/CHANGELOG.md @@ -1,6 +1,6 @@ ## 4.0.14 - **CHORE**: Bumped up dependency versions - - Major version increase of at_commons from ^3.0.55 to ^4.0.1 +- **CHORE**: Major version increase of at_commons from ^3.0.55 to ^4.0.1 ## 4.0.13