From 347cb6a810b0de6ee1c0d6fad31e7dd8d3c78b53 Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Wed, 15 Apr 2026 13:40:20 +0530 Subject: [PATCH] fix --- .../widgets/social_login_buttons.dart | 37 ------------------- 1 file changed, 37 deletions(-) diff --git a/lib/features/auth/presentation/widgets/social_login_buttons.dart b/lib/features/auth/presentation/widgets/social_login_buttons.dart index 2487d1c..0e04e62 100644 --- a/lib/features/auth/presentation/widgets/social_login_buttons.dart +++ b/lib/features/auth/presentation/widgets/social_login_buttons.dart @@ -1,7 +1,6 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_svg/flutter_svg.dart'; -import 'package:real_estate_mobile/core/constants/app_colors.dart'; import 'package:real_estate_mobile/features/auth/presentation/providers/auth_provider.dart'; import 'package:real_estate_mobile/features/auth/presentation/screens/twitter_login_screen.dart'; @@ -17,16 +16,6 @@ class SocialLoginButtons extends ConsumerWidget { this.mode = 'signup', }); - void _showComingSoon(BuildContext context) { - ScaffoldMessenger.of(context).showSnackBar( - const SnackBar( - content: Text('Coming soon'), - duration: Duration(seconds: 1), - behavior: SnackBarBehavior.floating, - ), - ); - } - Future _handleTwitterLogin(BuildContext context, WidgetRef ref) async { final result = await Navigator.push?>( context, @@ -50,16 +39,6 @@ class SocialLoginButtons extends ConsumerWidget { return Row( mainAxisAlignment: MainAxisAlignment.center, children: [ - // Apple - _SocialButton( - onTap: isLoading ? null : () => _showComingSoon(context), - child: const Icon( - Icons.apple, - size: 28, - color: AppColors.primaryDark, - ), - ), - const SizedBox(width: 32), // Google _SocialButton( onTap: isLoading @@ -87,22 +66,6 @@ class SocialLoginButtons extends ConsumerWidget { height: 24, ), ), - const SizedBox(width: 32), - // Facebook - _SocialButton( - onTap: isLoading - ? null - : () => ref.read(authProvider.notifier).signInWithFacebook( - role: role, - agentTypeId: agentTypeId, - mode: mode, - ), - child: SvgPicture.asset( - 'assets/icons/facebook.svg', - width: 24, - height: 24, - ), - ), ], ); }