File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,6 @@ class _ExtensionScreenState extends ConsumerState<Extension> {
166
166
167
167
List <Source > _getNotInstalledEntries (List <Source > data) {
168
168
return data
169
- .where ((element) => element.version == element.versionLast! )
170
169
.where ((element) => ! element.isAdded! )
171
170
.toList ();
172
171
}
@@ -260,15 +259,19 @@ class _ExtensionScreenState extends ConsumerState<Extension> {
260
259
child: Row (
261
260
children: [
262
261
Text (
263
- groupByValue,
262
+ groupByValue. toUpperCase () ,
264
263
style: const TextStyle (fontWeight: FontWeight .bold, fontSize: 13 ),
265
264
),
266
265
],
267
266
),
268
267
),
269
268
itemBuilder: (context, Source element) =>
270
269
ExtensionListTileWidget (source: element),
271
- groupComparator: (group1, group2) => group1.compareTo (group2),
270
+ groupComparator: (group1, group2) {
271
+ if (group1 == "all" ) return - 1 ;
272
+ if (group2 == "all" ) return 1 ;
273
+ return group1.compareTo (group2);
274
+ },
272
275
itemComparator: (item1, item2) => item1.name! .compareTo (item2.name! ),
273
276
order: GroupedListOrder .ASC ,
274
277
);
You can’t perform that action at this time.
0 commit comments