chore: update icon and border of find a course nav rail item (#4005)
This commit is contained in:
parent
a01a74f1c9
commit
c1c4152633
1 changed files with 17 additions and 1 deletions
|
|
@ -157,11 +157,27 @@ class SpacesNavigationRail extends StatelessWidget {
|
|||
// child: Icon(Icons.add),
|
||||
// ),
|
||||
// toolTip: L10n.of(context).createNewSpace,
|
||||
backgroundColor: Colors.transparent,
|
||||
borderRadius: BorderRadius.circular(0),
|
||||
isSelected: isCommunities,
|
||||
onTap: () {
|
||||
context.go('/rooms/communities');
|
||||
},
|
||||
icon: const Icon(Icons.groups),
|
||||
icon: ClipPath(
|
||||
clipper: MapClipper(),
|
||||
child: Container(
|
||||
width: width - (isColumnMode ? 32.0 : 24.0),
|
||||
height: width - (isColumnMode ? 32.0 : 24.0),
|
||||
color: isCommunities
|
||||
? Theme.of(context)
|
||||
.colorScheme
|
||||
.primaryContainer
|
||||
: Theme.of(context)
|
||||
.colorScheme
|
||||
.surfaceContainerHigh,
|
||||
child: const Icon(Icons.add),
|
||||
),
|
||||
),
|
||||
toolTip: L10n.of(context).findCourse,
|
||||
// Pangea#
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue