diff --git a/packages/at_contacts_flutter/CHANGELOG.md b/packages/at_contacts_flutter/CHANGELOG.md index 64791c8e..8c96f9b4 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 +- **CHORE**: 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/lib/widgets/add_contacts_dialog.dart b/packages/at_contacts_flutter/lib/widgets/add_contacts_dialog.dart index 7dbd4b71..e68d96f8 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 abbc3338..2dd2d54e 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( diff --git a/packages/at_contacts_flutter/pubspec.yaml b/packages/at_contacts_flutter/pubspec.yaml index a13d37b8..f8a5e42f 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