mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 05:52:51 +00:00
Adapt ui to support text scale
This commit is contained in:
parent
bddfac7e72
commit
c9c960d1ee
23 changed files with 624 additions and 495 deletions
|
@ -5,9 +5,9 @@ class ClearDnsCacheDialog extends StatelessWidget {
|
|||
final void Function() onConfirm;
|
||||
|
||||
const ClearDnsCacheDialog({
|
||||
Key? key,
|
||||
super.key,
|
||||
required this.onConfirm
|
||||
}) : super(key: key);
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
@ -22,6 +22,7 @@ class ClearDnsCacheDialog extends StatelessWidget {
|
|||
const SizedBox(height: 16),
|
||||
Text(
|
||||
AppLocalizations.of(context)!.clearDnsCache,
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
fontSize: 24,
|
||||
color: Theme.of(context).colorScheme.onSurface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue