mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-13 05:16:43 +02:00
Merge pull request #2329 from lagodimos/format-selected-apps-export
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