pull/2168/merge
Kelrap 3 weeks ago committed by GitHub
commit 3bda91657b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -345,7 +345,8 @@ class _SpaceViewState extends State<SpaceView> {
.whereType<Room>()
.toList();
final filter = _filterController.text.trim().toLowerCase();
return CustomScrollView(
return SafeArea(
child: CustomScrollView(
slivers: [
SliverAppBar(
floating: true,
@ -521,7 +522,8 @@ class _SpaceViewState extends State<SpaceView> {
item.numJoinedMembers.toString(),
style: TextStyle(
fontSize: 13,
color: theme.textTheme.bodyMedium!.color,
color:
theme.textTheme.bodyMedium!.color,
),
),
const SizedBox(width: 4),
@ -546,6 +548,7 @@ class _SpaceViewState extends State<SpaceView> {
),
const SliverPadding(padding: EdgeInsets.only(top: 32)),
],
),
);
},
),

@ -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 {
),
),
),
),
],
);
}

Loading…
Cancel
Save