forked from eatvio/eatvio_app
fix(auth): hide social buttons
This commit is contained in:
@@ -166,52 +166,52 @@ class _AuthScreenState extends State<AuthScreen> {
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
_SocialButton(
|
||||
onTap: _onVkPressed,
|
||||
backgroundColor: const Color(0xFF2787F5),
|
||||
tooltip: 'VK ID',
|
||||
child: SvgPicture.asset(
|
||||
'assets/icons/vk.svg',
|
||||
height: 24,
|
||||
width: 24,
|
||||
colorFilter: const ColorFilter.mode(Colors.white, BlendMode.srcIn),
|
||||
),
|
||||
),
|
||||
_SocialButton(
|
||||
onTap: _onOkPressed,
|
||||
backgroundColor: const Color(0xFFF58220),
|
||||
tooltip: 'Одноклассники',
|
||||
child: SvgPicture.asset(
|
||||
'assets/icons/ok.svg',
|
||||
height: 24,
|
||||
width: 24,
|
||||
colorFilter: const ColorFilter.mode(Colors.white, BlendMode.srcIn),
|
||||
),
|
||||
),
|
||||
const _SocialButton(
|
||||
onTap: _onMailRuPressed,
|
||||
backgroundColor: Color(0xFF005FF9),
|
||||
tooltip: 'Mail.ru',
|
||||
child: Text(
|
||||
'Mail',
|
||||
style: TextStyle(color: Colors.white, fontWeight: FontWeight.w700),
|
||||
),
|
||||
),
|
||||
const _SocialButton(
|
||||
onTap: _onYandexPressed,
|
||||
backgroundColor: Color(0xFFFFCC00),
|
||||
tooltip: 'Яндекс ID',
|
||||
child: Text(
|
||||
'Yandex',
|
||||
style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
// const SizedBox(height: 16),
|
||||
// Row(
|
||||
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
// children: [
|
||||
// _SocialButton(
|
||||
// onTap: _onVkPressed,
|
||||
// backgroundColor: const Color(0xFF2787F5),
|
||||
// tooltip: 'VK ID',
|
||||
// child: SvgPicture.asset(
|
||||
// 'assets/icons/vk.svg',
|
||||
// height: 24,
|
||||
// width: 24,
|
||||
// colorFilter: const ColorFilter.mode(Colors.white, BlendMode.srcIn),
|
||||
// ),
|
||||
// ),
|
||||
// _SocialButton(
|
||||
// onTap: _onOkPressed,
|
||||
// backgroundColor: const Color(0xFFF58220),
|
||||
// tooltip: 'Одноклассники',
|
||||
// child: SvgPicture.asset(
|
||||
// 'assets/icons/ok.svg',
|
||||
// height: 24,
|
||||
// width: 24,
|
||||
// colorFilter: const ColorFilter.mode(Colors.white, BlendMode.srcIn),
|
||||
// ),
|
||||
// ),
|
||||
// const _SocialButton(
|
||||
// onTap: _onMailRuPressed,
|
||||
// backgroundColor: Color(0xFF005FF9),
|
||||
// tooltip: 'Mail.ru',
|
||||
// child: Text(
|
||||
// 'Mail',
|
||||
// style: TextStyle(color: Colors.white, fontWeight: FontWeight.w700),
|
||||
// ),
|
||||
// ),
|
||||
// const _SocialButton(
|
||||
// onTap: _onYandexPressed,
|
||||
// backgroundColor: Color(0xFFFFCC00),
|
||||
// tooltip: 'Яндекс ID',
|
||||
// child: Text(
|
||||
// 'Yandex',
|
||||
// style: TextStyle(color: Colors.black, fontWeight: FontWeight.w700),
|
||||
// ),
|
||||
// ),
|
||||
// ],
|
||||
// ),
|
||||
const Spacer(),
|
||||
Center(
|
||||
child: RichText(
|
||||
|
||||
Reference in New Issue
Block a user