add slight padding above browse space fab
This commit is contained in:
parent
ab3eda0beb
commit
659e76b8f8
1 changed files with 68 additions and 62 deletions
|
|
@ -284,6 +284,8 @@ class const RoomsPane({super.key}) extends ConsumerWidget {
|
|||
),
|
||||
],
|
||||
),
|
||||
child: Padding(
|
||||
padding: const .only(top: 4),
|
||||
child: NavigationRailM3E(
|
||||
fab: selectedSpace.room == null
|
||||
? null
|
||||
|
|
@ -324,12 +326,14 @@ class const RoomsPane({super.key}) extends ConsumerWidget {
|
|||
if (subSpace.room.metadata?.avatar != null)
|
||||
AvatarOrHash(
|
||||
subSpace.room.metadata?.avatar,
|
||||
subSpace.room.metadata?.name ?? "Unnamed Room",
|
||||
subSpace.room.metadata?.name ??
|
||||
"Unnamed Room",
|
||||
dimension: 16,
|
||||
),
|
||||
Flexible(
|
||||
child: Text(
|
||||
subSpace.room.metadata?.name ?? "Unnamed Space",
|
||||
subSpace.room.metadata?.name ??
|
||||
"Unnamed Space",
|
||||
maxLines: 1,
|
||||
overflow: .ellipsis,
|
||||
),
|
||||
|
|
@ -346,7 +350,8 @@ class const RoomsPane({super.key}) extends ConsumerWidget {
|
|||
onDestinationSelected: (value) {
|
||||
ref
|
||||
.read(
|
||||
KeyController.provider(KeyController.roomKey).notifier,
|
||||
KeyController.provider(KeyController.roomKey)
|
||||
.notifier,
|
||||
)
|
||||
.set(selectedSpace.allChildRooms[value].metadata?.id);
|
||||
if (Navigator.of(context).canPop()) {
|
||||
|
|
@ -354,6 +359,7 @@ class const RoomsPane({super.key}) extends ConsumerWidget {
|
|||
}
|
||||
},
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue