версия изменена на 0.3.0, изменил кнопку реги на экране входа
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
// Датафайл с константами, полезно при изменении версии например
|
// Датафайл с константами, полезно при изменении версии например
|
||||||
const version = "0.3.0";
|
const version = "0.3.0";
|
||||||
|
|||||||
@@ -480,12 +480,11 @@ class _PhoneEntryScreenState extends State<PhoneEntryScreen>
|
|||||||
onCountryChanged: _onCountryChanged,
|
onCountryChanged: _onCountryChanged,
|
||||||
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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user