Skip to content

Commit

Permalink
fix: dropdown menu theming. (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
Livinglist authored Aug 20, 2024
1 parent 62bab9d commit 031ff75
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 1 addition & 2 deletions lib/blocs/stories/stories_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ class StoriesBloc extends Bloc<StoriesEvent, StoriesState> 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));
Expand Down
8 changes: 8 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 031ff75

Please sign in to comment.