|
|
|
|
@ -59,6 +59,7 @@ class SettingsView extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
body: ListTileTheme(
|
|
|
|
|
iconColor: theme.colorScheme.onSurface,
|
|
|
|
|
child: SafeArea(
|
|
|
|
|
child: ListView(
|
|
|
|
|
key: const Key('SettingsListViewContent'),
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
@ -195,8 +196,8 @@ class SettingsView extends StatelessWidget {
|
|
|
|
|
ListTile(
|
|
|
|
|
leading: const Icon(Icons.notifications_outlined),
|
|
|
|
|
title: Text(L10n.of(context).notifications),
|
|
|
|
|
tileColor:
|
|
|
|
|
activeRoute.startsWith('/rooms/settings/notifications')
|
|
|
|
|
tileColor: activeRoute
|
|
|
|
|
.startsWith('/rooms/settings/notifications')
|
|
|
|
|
? theme.colorScheme.surfaceContainerHigh
|
|
|
|
|
: null,
|
|
|
|
|
onTap: () => context.go('/rooms/settings/notifications'),
|
|
|
|
|
@ -205,7 +206,8 @@ class SettingsView extends StatelessWidget {
|
|
|
|
|
leading: const Icon(Icons.devices_outlined),
|
|
|
|
|
title: Text(L10n.of(context).devices),
|
|
|
|
|
onTap: () => context.go('/rooms/settings/devices'),
|
|
|
|
|
tileColor: activeRoute.startsWith('/rooms/settings/devices')
|
|
|
|
|
tileColor:
|
|
|
|
|
activeRoute.startsWith('/rooms/settings/devices')
|
|
|
|
|
? theme.colorScheme.surfaceContainerHigh
|
|
|
|
|
: null,
|
|
|
|
|
),
|
|
|
|
|
@ -262,6 +264,7 @@ class SettingsView extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|