File tree Expand file tree Collapse file tree 2 files changed +17
-10
lines changed
Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ class MSStoreService {
102102 //"$_filteredSearchAPI?&Query=$query&FilteredCategories=AllProducts&hl=en-us${systemLanguage.toLowerCase()}&
103103 final response = await _dio.get (
104104 "$_searchAPI ?gl=US&hl=en-us&query=$query &mediaType=all&age=all&price=all&category=all&subscription=all" ,
105-
105+
106106// https://apps.microsoft.com/api/products/search?gl=GE&hl=en-us&query=xbox&cursor=
107107 options: _options);
108108
@@ -325,21 +325,27 @@ class MSStoreService {
325325 if (groupedPackages.isEmpty) return [];
326326
327327 final latestGenPackages = groupedPackages.values
328- .map ((group) => group.fold (< PackagesInfo > [], (acc, package) {
328+ .map (
329+ (group) => group.fold (
330+ < PackagesInfo > [],
331+ (acc, package) {
329332 final version = _parseVersion (package.name! );
330333 final maxVersion = acc.fold (
331- - 1 ,
332- (accVersion, PackagesInfo accPackage) =>
333- _parseVersion (accPackage.name! ) > accVersion
334- ? _parseVersion (accPackage.name! )
335- : accVersion);
334+ - 1 ,
335+ (accVersion, accPackage) =>
336+ _parseVersion (accPackage.name! ) > accVersion
337+ ? _parseVersion (accPackage.name! )
338+ : accVersion,
339+ );
336340 if (version > maxVersion) {
337341 return [package];
338342 } else if (version == maxVersion) {
339343 acc.add (package);
340344 }
341345 return acc;
342- }))
346+ },
347+ ),
348+ )
343349 .expand ((i) => i)
344350 .toList ();
345351
Original file line number Diff line number Diff line change @@ -221,16 +221,17 @@ class CardHighlight extends StatelessWidget {
221221 child: InfoLabel (
222222 label: label! ,
223223 labelStyle:
224- const TextStyle (overflow: TextOverflow .ellipsis ),
224+ const TextStyle (overflow: TextOverflow .clip ),
225225 child: description != null
226226 ? Text (description ?? "" ,
227227 style: FluentTheme .of (context).brightness.isDark
228228 ? _cardDescStyleForDark
229229 : _cardDescStyleForLight,
230- overflow: TextOverflow .ellipsis )
230+ overflow: TextOverflow .clip )
231231 : const SizedBox (),
232232 ),
233233 ),
234+ const SizedBox (width: 10.0 ),
234235 child,
235236 ],
236237 ),
You can’t perform that action at this time.
0 commit comments