Skip to content

Commit

Permalink
feat: at_backupkey_flutter deps update and warnings fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sardar1208 committed Feb 9, 2024
1 parent c6afd94 commit db4d83b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/at_backupkey_flutter/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
dependencies:
at_app_flutter: ^5.2.0
at_client_mobile: ^3.2.12
at_onboarding_flutter: ^6.1.3
at_onboarding_flutter: ^6.1.7
cupertino_icons: ^1.0.6
flutter:
sdk: flutter
Expand Down
4 changes: 2 additions & 2 deletions packages/at_backupkey_flutter/lib/utils/size_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class SizeConfig {
refHeight = height ?? 812;
refWidth = width ?? 375;

deviceTextFactor = _mediaQueryData.textScaleFactor;

deviceTextFactor = _mediaQueryData.textScaler.scale(20) / 20;
if (screenHeight < 1200) {
blockSizeHorizontal = screenWidth / 100;
blockSizeVertical = screenHeight / 100;
Expand Down

0 comments on commit db4d83b

Please sign in to comment.