add keeping android font scale factor
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
b004f4b9ee
commit
e0579a9b57
@ -211,8 +211,13 @@ class App extends StatelessWidget {
|
||||
// FirebaseAnalyticsObserver(analytics: analytics),
|
||||
],
|
||||
builder: isAndroid
|
||||
? (_, child) => AccessibilityListener(
|
||||
child: child,
|
||||
? (context, child) => AccessibilityListener(
|
||||
child: MediaQuery(
|
||||
data: MediaQuery.of(context).copyWith(
|
||||
textScaleFactor: 1.0,
|
||||
),
|
||||
child: child ?? Container(),
|
||||
),
|
||||
)
|
||||
: _keepScaleBuilder(),
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user