@@ -11,7 +11,7 @@ import 'package:http/http.dart' as http;
1111class ManageTaskChampionCredsController extends GetxController {
1212 final encryptionSecretController = TextEditingController ();
1313 final clientIdController = TextEditingController ();
14- final ccsyncBackendUrlController = TextEditingController ();
14+ final syncBackendUrlController = TextEditingController ();
1515 var profilesWidget = Get .find <SplashController >();
1616 RxBool isCheckingCreds = false .obs;
1717 RxBool taskReplica = false .obs;
@@ -25,7 +25,7 @@ class ManageTaskChampionCredsController extends GetxController {
2525 encryptionSecretController.text =
2626 await CredentialsStorage .getEncryptionSecret () ?? '' ;
2727 clientIdController.text = await CredentialsStorage .getClientId () ?? '' ;
28- ccsyncBackendUrlController .text =
28+ syncBackendUrlController .text =
2929 await CredentialsStorage .getApiUrl () ?? '' ;
3030 final SharedPreferences prefs = await SharedPreferences .getInstance ();
3131 taskReplica.value = prefs.getBool ('settings_taskr_repl' ) ?? false ;
@@ -37,11 +37,11 @@ class ManageTaskChampionCredsController extends GetxController {
3737 profilesWidget.currentProfile.value,
3838 clientIdController.text,
3939 encryptionSecretController.text,
40- ccsyncBackendUrlController .text);
40+ syncBackendUrlController .text);
4141 return 0 ;
4242 }
4343 isCheckingCreds.value = true ;
44- String baseUrl = ccsyncBackendUrlController .text;
44+ String baseUrl = syncBackendUrlController .text;
4545 String uuid = clientIdController.text;
4646 String encryptionSecret = encryptionSecretController.text;
4747 try {
@@ -60,7 +60,7 @@ class ManageTaskChampionCredsController extends GetxController {
6060 profilesWidget.currentProfile.value,
6161 clientIdController.text,
6262 encryptionSecretController.text,
63- ccsyncBackendUrlController .text);
63+ syncBackendUrlController .text);
6464
6565 isCheckingCreds.value = false ;
6666 return 0 ;
@@ -78,7 +78,7 @@ class ManageTaskChampionCredsController extends GetxController {
7878 void onClose () {
7979 encryptionSecretController.dispose ();
8080 clientIdController.dispose ();
81- ccsyncBackendUrlController .dispose ();
81+ syncBackendUrlController .dispose ();
8282 super .onClose ();
8383 }
8484}
0 commit comments