версия изменена на 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,
),
(Platform.instance.android || Platform.instance.windows) ? Column(
children: [
if (Platform.instance.android ||
Platform.instance.windows) ...[
const SizedBox(height: 16),
Center(
child: TextButton(
OutlinedButton(
onPressed: _isTosAccepted
? () {
Navigator.of(context).push(
@@ -496,26 +495,19 @@ class _PhoneEntryScreenState extends State<PhoneEntryScreen>
);
}
: null,
style: OutlinedButton.styleFrom(
padding: const EdgeInsets.symmetric(
vertical: 16,
),
),
child: Text(
'зарегистрироваться',
'Зарегистрироваться',
style: GoogleFonts.manrope(
color: _isTosAccepted
? colors.primary
: colors.onSurfaceVariant.withOpacity(
0.5,
),
fontWeight: FontWeight.w600,
decoration: TextDecoration.underline,
decorationColor: _isTosAccepted
? colors.primary
: colors.onSurfaceVariant.withOpacity(
0.5,
),
fontWeight: FontWeight.bold,
),
),
),
)]
) : const SizedBox(),
],
const SizedBox(height: 16),
Row(
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
# 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.
version: 0.2.0+4
version: 0.3.0+6
environment:
sdk: ^3.9.2