File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/UniGetUI/Pages/SoftwarePages Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -550,13 +550,15 @@ public async Task SaveFile()
550550
551551 public static async Task < string > CreateBundle ( IEnumerable < IPackage > unsorted_packages , BundleFormatType formatType = BundleFormatType . JSON )
552552 {
553- SerializableBundle_v1 exportable = new ( ) ;
554- exportable . export_version = 2.1 ;
553+ SerializableBundle_v1 exportable = new ( )
554+ {
555+ export_version = 2.1 ,
556+ } ;
555557
556558 List < IPackage > packages = unsorted_packages . ToList ( ) ;
557559 packages. Sort ( Comparison ) ;
558560
559- int Comparison ( IPackage x , IPackage y )
561+ static int Comparison ( IPackage x , IPackage y )
560562 {
561563 if ( x . Id != y . Id ) return String. Compare ( x . Id , y . Id , StringComparison . Ordinal ) ;
562564 if ( x . Name != y . Name ) return String. Compare ( x . Name , y . Name , StringComparison . Ordinal ) ;
You can’t perform that action at this time.
0 commit comments