Skip to content

Commit

Permalink
Merge pull request #797 from atsign-foundation/feat/at_contacts_attri…
Browse files Browse the repository at this point in the history
…bute_fix

chore: updated textScaleFactor to textScaler [at_contacts]
  • Loading branch information
Sardar1208 authored Feb 9, 2024
2 parents 3368c59 + 860259f commit c6afd94
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions packages/at_contacts_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class _AddContactDialogState extends State<AddContactDialog> {
@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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion packages/at_contacts_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c6afd94

Please sign in to comment.