File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
lib/src/screens/initial_setup_widgets Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ library;
3333import 'package:flutter/material.dart' ;
3434
3535import 'package:flutter_form_builder/flutter_form_builder.dart' ;
36- import 'package:solidpod/solidpod.dart' show KeyManager ;
36+ import 'package:solidpod/solidpod.dart' show initPod ;
3737
3838import 'package:solidui/src/constants/initial_setup.dart' ;
3939import 'package:solidui/src/widgets/solid_animation_dialog.dart' ;
@@ -167,11 +167,12 @@ ElevatedButton resCreateFormSubmission(
167167 final securityKey = formData[securityKeyStr].toString ();
168168
169169 try {
170- // Initialise the POD with the security key.
171- // Set up the KeyManager and create verification keys.
172-
173- await KeyManager .initPodKeys (securityKey);
174- debugPrint ('POD initialised with security key' );
170+ // await _initPodOriginalFunc(securityKey);
171+ await initPod (
172+ securityKey,
173+ dirUrls: resFoldersLink,
174+ fileUrls: resFilesLink,
175+ );
175176 } on Exception catch (e) {
176177 debugPrint ('Error initialising POD: $e ' );
177178 }
You can’t perform that action at this time.
0 commit comments