mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-11-03 23:03:29 +01:00 
			
		
		
		
	Format json file also when exporting selected apps
This commit is contained in:
		@@ -911,7 +911,8 @@ class AppsPageState extends State<AppsPage> {
 | 
				
			|||||||
                          onPressed: selectedAppIds.isEmpty
 | 
					                          onPressed: selectedAppIds.isEmpty
 | 
				
			||||||
                              ? null
 | 
					                              ? null
 | 
				
			||||||
                              : () {
 | 
					                              : () {
 | 
				
			||||||
                                  var exportJSON = jsonEncode(
 | 
					                                  var encoder = const JsonEncoder.withIndent("    ");
 | 
				
			||||||
 | 
					                                  var exportJSON = encoder.convert(
 | 
				
			||||||
                                      appsProvider.generateExportJSON(
 | 
					                                      appsProvider.generateExportJSON(
 | 
				
			||||||
                                          appIds: selectedApps
 | 
					                                          appIds: selectedApps
 | 
				
			||||||
                                              .map((e) => e.id)
 | 
					                                              .map((e) => e.id)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user