From 031ff7519db929d73be29b3ed981a7d822617275 Mon Sep 17 00:00:00 2001 From: Jojo Feng Date: Tue, 20 Aug 2024 00:54:54 -0700 Subject: [PATCH] fix: dropdown menu theming. (#459) --- lib/blocs/stories/stories_bloc.dart | 3 +-- lib/main.dart | 8 ++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/blocs/stories/stories_bloc.dart b/lib/blocs/stories/stories_bloc.dart index 2aa6d0df..b18f0080 100644 --- a/lib/blocs/stories/stories_bloc.dart +++ b/lib/blocs/stories/stories_bloc.dart @@ -129,8 +129,7 @@ class StoriesBloc extends Bloc with Loggable { await _hackerNewsRepository .fetchStoriesStream( ids: ids.sublist(0, apiPageSize), - sequential: _preferenceCubit.state.isComplexStoryTileEnabled || - _preferenceCubit.state.isFaviconEnabled, + sequential: true, ) .listen((Story story) { add(StoryLoaded(story: story, type: type)); diff --git a/lib/main.dart b/lib/main.dart index 1f1ab3fa..7fa7e067 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -351,6 +351,14 @@ class HackiApp extends StatelessWidget { : Palette.black, ), ), + disabledBorder: UnderlineInputBorder( + borderSide: BorderSide( + color: (isDarkModeEnabled + ? Palette.white + : Palette.black) + .withOpacity(0.4), + ), + ), ), sliderTheme: SliderThemeData( inactiveTrackColor: