Add accessability semantics
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:accessibility_tools/accessibility_tools.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_localizations/flutter_localizations.dart';
|
||||
import 'package:hiddify/core/core_providers.dart';
|
||||
@@ -19,6 +20,12 @@ class AppView extends HookConsumerWidget with PresLogger {
|
||||
ref.watch(commonControllersProvider);
|
||||
|
||||
return MaterialApp.router(
|
||||
builder: (context, child) {
|
||||
return AccessibilityTools(
|
||||
checkFontOverflows: true,
|
||||
child: child,
|
||||
);
|
||||
},
|
||||
routerConfig: router,
|
||||
locale: locale,
|
||||
supportedLocales: AppLocaleUtils.supportedLocales,
|
||||
|
||||
Reference in New Issue
Block a user