diff --git a/android/.kotlin/sessions/kotlin-compiler-9339312346383169436.salive b/android/.kotlin/sessions/kotlin-compiler-9339312346383169436.salive deleted file mode 100644 index e69de29..0000000 diff --git a/lib/consts.dart b/lib/consts.dart index 7d0937f..4d18362 100644 --- a/lib/consts.dart +++ b/lib/consts.dart @@ -1,2 +1,2 @@ // Датафайл с константами, полезно при изменении версии например -const version = "0.3.0"; \ No newline at end of file +const version = "0.3.0"; diff --git a/lib/screens/phone_entry_screen.dart b/lib/screens/phone_entry_screen.dart index 9100dcd..1c46fee 100644 --- a/lib/screens/phone_entry_screen.dart +++ b/lib/screens/phone_entry_screen.dart @@ -480,12 +480,11 @@ class _PhoneEntryScreenState extends State onCountryChanged: _onCountryChanged, 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 ); } : 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, diff --git a/pubspec.yaml b/pubspec.yaml index 634a56b..493ab32 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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