File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/app/utils/taskchampion Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ class ManageTaskChampionCreds extends StatelessWidget {
25
25
_encryptionSecretController.text =
26
26
prefs.getString ('encryptionSecret' ) ?? '' ;
27
27
_clientIdController.text = prefs.getString ('clientId' ) ?? '' ;
28
- _ccsyncBackendUrlController.text = prefs.getString ('championApiUrl ' ) ?? '' ;
28
+ _ccsyncBackendUrlController.text = prefs.getString ('ccsyncBackendUrl ' ) ?? '' ;
29
29
}
30
30
31
31
Future <void > _saveCredentials (BuildContext context) async {
32
32
SharedPreferences prefs = await SharedPreferences .getInstance ();
33
33
await prefs.setString ('encryptionSecret' , _encryptionSecretController.text);
34
34
await prefs.setString ('clientId' , _clientIdController.text);
35
- await prefs.setString ('championApiUrl ' , _ccsyncBackendUrlController.text);
35
+ await prefs.setString ('ccsyncBackendUrl ' , _ccsyncBackendUrlController.text);
36
36
ScaffoldMessenger .of (context).showSnackBar (
37
37
const SnackBar (content: Text ('Credentials saved successfully' )),
38
38
);
You can’t perform that action at this time.
0 commit comments