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 {
2525 _encryptionSecretController.text =
2626 prefs.getString ('encryptionSecret' ) ?? '' ;
2727 _clientIdController.text = prefs.getString ('clientId' ) ?? '' ;
28- _ccsyncBackendUrlController.text = prefs.getString ('championApiUrl ' ) ?? '' ;
28+ _ccsyncBackendUrlController.text = prefs.getString ('ccsyncBackendUrl ' ) ?? '' ;
2929 }
3030
3131 Future <void > _saveCredentials (BuildContext context) async {
3232 SharedPreferences prefs = await SharedPreferences .getInstance ();
3333 await prefs.setString ('encryptionSecret' , _encryptionSecretController.text);
3434 await prefs.setString ('clientId' , _clientIdController.text);
35- await prefs.setString ('championApiUrl ' , _ccsyncBackendUrlController.text);
35+ await prefs.setString ('ccsyncBackendUrl ' , _ccsyncBackendUrlController.text);
3636 ScaffoldMessenger .of (context).showSnackBar (
3737 const SnackBar (content: Text ('Credentials saved successfully' )),
3838 );
You can’t perform that action at this time.
0 commit comments