|
|
|
@ -33,7 +33,9 @@ class SpacesNavigationRail extends StatelessWidget {
|
|
|
|
|
.uri
|
|
|
|
|
.path
|
|
|
|
|
.startsWith('/rooms/settings');
|
|
|
|
|
return StreamBuilder(
|
|
|
|
|
return Material(
|
|
|
|
|
child: SafeArea(
|
|
|
|
|
child: StreamBuilder(
|
|
|
|
|
key: ValueKey(
|
|
|
|
|
client.userID.toString(),
|
|
|
|
|
),
|
|
|
|
@ -52,7 +54,9 @@ class SpacesNavigationRail extends StatelessWidget {
|
|
|
|
|
.toList();
|
|
|
|
|
|
|
|
|
|
return SizedBox(
|
|
|
|
|
width: FluffyThemes.navRailWidth,
|
|
|
|
|
width: FluffyThemes.isColumnMode(context)
|
|
|
|
|
? FluffyThemes.navRailWidth
|
|
|
|
|
: FluffyThemes.navRailWidth * 0.75,
|
|
|
|
|
child: Column(
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(
|
|
|
|
@ -89,7 +93,8 @@ class SpacesNavigationRail extends StatelessWidget {
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
final space = rootSpaces[i];
|
|
|
|
|
final displayname = rootSpaces[i].getLocalizedDisplayname(
|
|
|
|
|
final displayname =
|
|
|
|
|
rootSpaces[i].getLocalizedDisplayname(
|
|
|
|
|
MatrixLocals(L10n.of(context)),
|
|
|
|
|
);
|
|
|
|
|
final spaceChildrenIds =
|
|
|
|
@ -132,6 +137,8 @@ class SpacesNavigationRail extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|