Skip to content

Commit

Permalink
fix(search): profile could not be changed on download prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
JagandeepBrar committed Jun 22, 2023
1 parent 1c18d00 commit d81052d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/modules/search/core/dialogs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,11 @@ class SearchDialogs {
},
itemBuilder: (context) {
return <PopupMenuEntry<String>>[
for (String? profile
in LunaBox.profiles.keys as Iterable<String?>)
for (final profile in LunaBox.profiles.keys.cast<String>())
PopupMenuItem<String>(
value: profile,
child: Text(
profile!,
profile,
style: TextStyle(
fontSize: LunaUI.FONT_SIZE_H3,
color: LunaSeaDatabase.ENABLED_PROFILE.read() ==
Expand Down

0 comments on commit d81052d

Please sign in to comment.