removed register widget on other platforms
This commit is contained in:
@@ -13,6 +13,7 @@ import 'package:gwid/screens/tos_screen.dart'; // Импорт экрана ToS
|
|||||||
import 'package:mask_text_input_formatter/mask_text_input_formatter.dart';
|
import 'package:mask_text_input_formatter/mask_text_input_formatter.dart';
|
||||||
import 'package:shared_preferences/shared_preferences.dart';
|
import 'package:shared_preferences/shared_preferences.dart';
|
||||||
import 'package:url_launcher/url_launcher.dart';
|
import 'package:url_launcher/url_launcher.dart';
|
||||||
|
import 'package:platform_info/platform_info.dart';
|
||||||
|
|
||||||
class Country {
|
class Country {
|
||||||
final String name;
|
final String name;
|
||||||
@@ -479,6 +480,9 @@ class _PhoneEntryScreenState extends State<PhoneEntryScreen>
|
|||||||
onCountryChanged: _onCountryChanged,
|
onCountryChanged: _onCountryChanged,
|
||||||
customPrefix: _customPrefix,
|
customPrefix: _customPrefix,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
(Platform.instance.android || Platform.instance.windows) ? Column(
|
||||||
|
children: [
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
Center(
|
Center(
|
||||||
child: TextButton(
|
child: TextButton(
|
||||||
@@ -510,7 +514,8 @@ class _PhoneEntryScreenState extends State<PhoneEntryScreen>
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
)]
|
||||||
|
) : const SizedBox(),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
Row(
|
Row(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
|
|||||||
@@ -125,6 +125,7 @@ dependencies:
|
|||||||
chewie: ^1.7.5
|
chewie: ^1.7.5
|
||||||
|
|
||||||
just_audio: ^0.9.40
|
just_audio: ^0.9.40
|
||||||
|
platform_info: ^5.0.0
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
|||||||
Reference in New Issue
Block a user