Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Commit d81052d

Browse files
committed
fix(search): profile could not be changed on download prompt
1 parent 1c18d00 commit d81052d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/modules/search/core/dialogs.dart

+2-3
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,11 @@ class SearchDialogs {
5959
},
6060
itemBuilder: (context) {
6161
return <PopupMenuEntry<String>>[
62-
for (String? profile
63-
in LunaBox.profiles.keys as Iterable<String?>)
62+
for (final profile in LunaBox.profiles.keys.cast<String>())
6463
PopupMenuItem<String>(
6564
value: profile,
6665
child: Text(
67-
profile!,
66+
profile,
6867
style: TextStyle(
6968
fontSize: LunaUI.FONT_SIZE_H3,
7069
color: LunaSeaDatabase.ENABLED_PROFILE.read() ==

0 commit comments

Comments
 (0)