fix(ui-kit): fix accessibility text size scaling in message widget
Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
@@ -97,3 +97,8 @@ extension InputDecorationX on InputDecoration {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
extension BuildContextX on BuildContext {
|
||||
double get textScaleFactor =>
|
||||
MediaQuery.maybeOf(this)?.textScaleFactor ?? 1.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user