Skip to content

Commit

Permalink
chore: updated textScaleFactor to textScaler
Browse files Browse the repository at this point in the history
  • Loading branch information
Sardar1208 committed Jan 31, 2024
1 parent a8f73e6 commit 84fd6b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/at_backupkey_flutter/lib/utils/size_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class SizeConfig {
refHeight = height ?? 812;
refWidth = width ?? 375;

deviceTextFactor = _mediaQueryData.textScaleFactor;
deviceTextFactor = _mediaQueryData.textScaler.scale(20) / 20;

if (screenHeight < 1200) {
blockSizeHorizontal = screenWidth / 100;
Expand Down

0 comments on commit 84fd6b1

Please sign in to comment.