diff --git a/lib/widgets/pinned_events_drawer.dart b/lib/widgets/pinned_events_drawer.dart index ad2f6af..8873a45 100644 --- a/lib/widgets/pinned_events_drawer.dart +++ b/lib/widgets/pinned_events_drawer.dart @@ -24,30 +24,28 @@ class PinnedEventsDrawer extends HookConsumerWidget { appBar: AppBar( scrolledUnderElevation: 0, leading: Icon(Icons.push_pin), - title: Text("Pinned Messages"), + title: Text("Pinned Events"), actionsPadding: .only(right: 4), actions: [ IconButton( onPressed: Scaffold.of(context).closeEndDrawer, icon: Icon(Icons.close), - tooltip: "Close pinned messages", + tooltip: "Close pinned events", ), ], ), body: switch (pinsProvider) { AsyncData(:final value) when value.isEmpty => Center( child: Column( + mainAxisSize: .min, children: [ Icon( Icons.push_pin_outlined, size: 48, - color: theme.colorScheme.surfaceContainerHigh, + color: theme.colorScheme.onSurface, ), SizedBox(height: 12), - Text( - "No pinned messages.", - style: theme.textTheme.headlineSmall, - ), + Text("No pinned events", style: theme.textTheme.headlineSmall), ], ), ),