diff --git a/lib/screens/discover_screen.dart b/lib/screens/discover_screen.dart index 93779304..c823e53a 100644 --- a/lib/screens/discover_screen.dart +++ b/lib/screens/discover_screen.dart @@ -1040,12 +1040,6 @@ class _DiscoverScreenState extends State mediaQuery.devicePixelRatio) .clamp(900, 2400) .round(), - memCacheHeight: - (mediaQuery.size.height * - mediaQuery.devicePixelRatio * - 0.7) - .clamp(600, 1600) - .round(), placeholder: (context, url) => Container( color: Theme.of( context, diff --git a/lib/widgets/hub_section.dart b/lib/widgets/hub_section.dart index a9095116..6866ecd1 100644 --- a/lib/widgets/hub_section.dart +++ b/lib/widgets/hub_section.dart @@ -202,9 +202,13 @@ class _HubSectionState extends State { children: [ Icon(widget.icon), const SizedBox(width: 8), - Text( - widget.hub.title, - style: Theme.of(context).textTheme.titleLarge, + Expanded( + child: Text( + widget.hub.title, + style: Theme.of(context).textTheme.titleLarge, + overflow: TextOverflow.ellipsis, + maxLines: 1, + ), ), if (widget.hub.more) ...[ const SizedBox(width: 4),