This commit is contained in:
Henry Hiles 2025-12-07 16:31:03 -05:00
commit 63a9d2d169
No known key found for this signature in database
15 changed files with 388 additions and 299 deletions

View file

@ -60,7 +60,9 @@ class Sidebar extends HookConsumerWidget {
(space) => NavigationRailDestination(
icon: AvatarOrHash(
space.avatar,
fallback: space.icon,
fallback: space.icon == null
? null
: Icon(space.icon),
space.title,
headers: space.client.headers,
hasBadge:
@ -126,7 +128,9 @@ class Sidebar extends HookConsumerWidget {
appBar: AppBar(
leading: AvatarOrHash(
space.avatar,
fallback: space.icon,
fallback: space.icon == null
? null
: Icon(space.icon),
space.title,
headers: space.client.headers,
),