mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-21 13:48:43 -04:00
Accessibility update
This commit is contained in:
parent
be8014c97a
commit
3b1cb53b8a
55 changed files with 1089 additions and 807 deletions
|
@ -1,7 +1,9 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
|
||||
import '../../keyboard_shortcuts.dart';
|
||||
import '../../notifications/notifications.dart';
|
||||
import '../../settings/settings.dart';
|
||||
import '../../theme/theme.dart';
|
||||
|
||||
class RouterShell extends StatelessWidget {
|
||||
|
@ -10,7 +12,13 @@ class RouterShell extends StatelessWidget {
|
|||
@override
|
||||
Widget build(BuildContext context) => PopControl(
|
||||
dismissible: false,
|
||||
child: NotificationsWidget(child: KeyboardShortcuts(child: _child)));
|
||||
child: AsyncBlocBuilder<PreferencesCubit, Preferences>(
|
||||
builder: (context, state) => MediaQuery(
|
||||
data: MediaQuery.of(context).copyWith(
|
||||
textScaler:
|
||||
TextScaler.linear(state.themePreference.displayScale)),
|
||||
child: NotificationsWidget(
|
||||
child: KeyboardShortcuts(child: _child)))));
|
||||
|
||||
final Widget _child;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue