mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-16 23:12:50 +00:00
Improved text scale factor
This commit is contained in:
parent
5f9d24cc5f
commit
d8eeb7a51b
2 changed files with 3 additions and 27 deletions
|
@ -175,7 +175,7 @@ class _BottomRowState extends State<_BottomRow> {
|
|||
Widget build(BuildContext context) {
|
||||
final statusProvider = Provider.of<StatusProvider>(context);
|
||||
|
||||
final textScale = MediaQuery.of(context).textScaleFactor;
|
||||
final textScale = MediaQuery.of(context).textScaler.scale(1);
|
||||
|
||||
return Container(
|
||||
height: Platform.isMacOS || Platform.isLinux || Platform.isWindows
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue