@momo-kits/native-kits 0.117.1-beta.21 → 0.117.1-beta.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,7 @@ import vn.momo.kits.platform.getScreenDimensions
16
16
  import kotlin.math.min
17
17
 
18
18
  const val DEFAULT_SCREEN_SIZE = 375f
19
- const val MAX_FONT_SCALE = 1.5f
19
+ const val MAX_FONT_SCALE = 1.3f
20
20
  const val MAX_DEVICE_SCALE = 5
21
21
 
22
22
  @Composable
@@ -3,7 +3,7 @@ import SwiftUI
3
3
  public extension Font {
4
4
  static func appFont(size: CGFloat) -> Font {
5
5
  let defaultScreenSize: CGFloat = 375
6
- let maxFontScale: CGFloat = 1.5
6
+ let maxFontScale: CGFloat = 1.3
7
7
  let maxDeviceScale: CGFloat = 5
8
8
 
9
9
  let deviceWidth = UIScreen.main.bounds.width
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.117.1-beta.21",
3
+ "version": "0.117.1-beta.22",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},