версия изменена на 0.3.0, изменил кнопку реги на экране входа

This commit is contained in:
needle10
2025-11-30 19:05:03 +03:00
parent 83e74c04ec
commit e861b3c8e7
4 changed files with 14 additions and 22 deletions

View File

@@ -481,11 +481,10 @@ class _PhoneEntryScreenState extends State<PhoneEntryScreen>
customPrefix: _customPrefix, customPrefix: _customPrefix,
), ),
(Platform.instance.android || Platform.instance.windows) ? Column( if (Platform.instance.android ||
children: [ Platform.instance.windows) ...[
const SizedBox(height: 16), const SizedBox(height: 16),
Center( OutlinedButton(
child: TextButton(
onPressed: _isTosAccepted onPressed: _isTosAccepted
? () { ? () {
Navigator.of(context).push( Navigator.of(context).push(
@@ -496,26 +495,19 @@ class _PhoneEntryScreenState extends State<PhoneEntryScreen>
); );
} }
: null, : null,
style: OutlinedButton.styleFrom(
padding: const EdgeInsets.symmetric(
vertical: 16,
),
),
child: Text( child: Text(
'зарегистрироваться', 'Зарегистрироваться',
style: GoogleFonts.manrope( style: GoogleFonts.manrope(
color: _isTosAccepted fontWeight: FontWeight.bold,
? colors.primary
: colors.onSurfaceVariant.withOpacity(
0.5,
),
fontWeight: FontWeight.w600,
decoration: TextDecoration.underline,
decorationColor: _isTosAccepted
? colors.primary
: colors.onSurfaceVariant.withOpacity(
0.5,
),
), ),
), ),
), ),
)] ],
) : const SizedBox(),
const SizedBox(height: 16), const SizedBox(height: 16),
Row( Row(
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,

View File

@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts # In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix. # of the product and file versions while build-number is used as the build suffix.
version: 0.2.0+4 version: 0.3.0+6
environment: environment:
sdk: ^3.9.2 sdk: ^3.9.2