From d8a2b8ec6d811196aee148a366d237cd43ad6462 Mon Sep 17 00:00:00 2001 From: Jganenok Date: Thu, 28 May 2026 21:29:47 +0700 Subject: [PATCH] =?UTF-8?q?=D1=80=D0=B0=D0=B7=D0=BC=D0=B5=D1=80=20=D1=88?= =?UTF-8?q?=D1=80=D0=B8=D1=84=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/core/config/app_fonts.dart | 2 +- lib/frontend/screens/profile/font_settings_screen.dart | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/core/config/app_fonts.dart b/lib/core/config/app_fonts.dart index 74d3d59..f99d1f9 100644 --- a/lib/core/config/app_fonts.dart +++ b/lib/core/config/app_fonts.dart @@ -23,7 +23,7 @@ class AppFonts { static const String customPrefKey = 'app_custom_fonts'; static const String customPrefix = 'g:'; - static const double minScale = 0.85; + static const double minScale = 0.60; static const double maxScale = 1.35; static const double defaultScale = 1.0; diff --git a/lib/frontend/screens/profile/font_settings_screen.dart b/lib/frontend/screens/profile/font_settings_screen.dart index ba3fd15..7436b6a 100644 --- a/lib/frontend/screens/profile/font_settings_screen.dart +++ b/lib/frontend/screens/profile/font_settings_screen.dart @@ -378,7 +378,9 @@ class _FontSizeControl extends StatelessWidget { value: AppFonts.clampScale(scale), min: AppFonts.minScale, max: AppFonts.maxScale, - divisions: 10, + divisions: + ((AppFonts.maxScale - AppFonts.minScale) / 0.05) + .round(), onChanged: onChanged, onChangeEnd: onChangeEnd, ),