From e861b3c8e78debdebb86b169d29a5c9ff4d9f4c7 Mon Sep 17 00:00:00 2001 From: needle10 Date: Sun, 30 Nov 2025 19:05:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D1=8F=20=D0=B8?= =?UTF-8?q?=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B0=20=D0=BD=D0=B0=200.3?= =?UTF-8?q?.0,=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB=20=D0=BA=D0=BD?= =?UTF-8?q?=D0=BE=D0=BF=D0=BA=D1=83=20=D1=80=D0=B5=D0=B3=D0=B8=20=D0=BD?= =?UTF-8?q?=D0=B0=20=D1=8D=D0=BA=D1=80=D0=B0=D0=BD=D0=B5=20=D0=B2=D1=85?= =?UTF-8?q?=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...kotlin-compiler-9339312346383169436.salive | 0 lib/consts.dart | 2 +- lib/screens/phone_entry_screen.dart | 32 +++++++------------ pubspec.yaml | 2 +- 4 files changed, 14 insertions(+), 22 deletions(-) delete mode 100644 android/.kotlin/sessions/kotlin-compiler-9339312346383169436.salive 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