Skip to content

Commit

Permalink
Fix display of licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
maxammann committed Jan 19, 2022
1 parent 3ab2b73 commit cf55bae
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions frontend/lib/about/license_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ class CustomLicensePage extends StatelessWidget {
value.addAll(element.licenseParagraphs);
return value;
});

result.add(CustomLicenseEntry(key, listOfParagraphLists));

if (key.isNotEmpty) {
result.add(CustomLicenseEntry(key, listOfParagraphLists));
}
});

result.sortBy((element) => element.packageName);
result.sortBy((element) => element.packageName.toLowerCase());

return CustomScrollView(
slivers: <Widget>[
Expand Down

0 comments on commit cf55bae

Please sign in to comment.