文案ok
This commit is contained in:
@@ -84,7 +84,6 @@ class _LoginPageState extends State<LoginPage> {
|
||||
GoogleSignInAccount? user = await _googleSignIn.authenticate();
|
||||
var auth = user.authentication;
|
||||
|
||||
// var res = await Dio().get("https://oauth2.googleapis.com/tokeninfo?id_token=${auth.idToken}");
|
||||
//登陆
|
||||
EasyLoading.show(status: "Logging in...");
|
||||
var res = await thirdLoginApi(auth.idToken!, OtherLoginType.google);
|
||||
@@ -118,8 +117,6 @@ class _LoginPageState extends State<LoginPage> {
|
||||
var res = await thirdLoginApi(credential.identityToken!, OtherLoginType.apple);
|
||||
EasyLoading.dismiss();
|
||||
_onLogin(res);
|
||||
print('Apple Credential: ${credential.identityToken}');
|
||||
print('Apple Email: ${credential.email}');
|
||||
} catch (e) {
|
||||
print('Error during Apple sign-in: $e');
|
||||
}
|
||||
|
||||
@@ -24,7 +24,10 @@ class AgreementBox extends StatelessWidget {
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () => context.push(
|
||||
RoutePaths.agreement,
|
||||
extra: {"title": "Terms of Service", "url": "https://support.curain.ai/privacy/foodcura/terms_service.html"},
|
||||
extra: {
|
||||
"title": "Terms of Service",
|
||||
"url": "https://support.curain.ai/privacy/plancura/terms_service.html",
|
||||
},
|
||||
),
|
||||
),
|
||||
const TextSpan(text: " and "),
|
||||
@@ -34,7 +37,10 @@ class AgreementBox extends StatelessWidget {
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () => context.push(
|
||||
RoutePaths.agreement,
|
||||
extra: {"title": "Privacy", "url": "https://support.curain.ai/privacy/foodcura/privacy_policy.html"},
|
||||
extra: {
|
||||
"title": "Privacy",
|
||||
"url": "https://support.curain.ai/privacy/plancura/privacy_policy.html",
|
||||
},
|
||||
),
|
||||
),
|
||||
const TextSpan(text: "."),
|
||||
|
||||
Reference in New Issue
Block a user