diff --git a/lib/data/network/api_service.dart b/lib/data/network/api_service.dart index c41151e..4404964 100644 --- a/lib/data/network/api_service.dart +++ b/lib/data/network/api_service.dart @@ -40,8 +40,8 @@ class ApiService { static const String fileBaseUrl = "https://api.behappybel.by/"; /*static const String baseUrl = "https://sharing-api.sparkit.by/api/v1"; - static const String fileBaseUrl = "https://sharing-api.sparkit.by"; -*/ + static const String fileBaseUrl = "https://sharing-api.sparkit.by";*/ + final SecurityService _securityService; final Dio _dio; diff --git a/lib/presentation/screens/scooter_code_input_screen.dart b/lib/presentation/screens/scooter_code_input_screen.dart index 16722ea..05aaed4 100644 --- a/lib/presentation/screens/scooter_code_input_screen.dart +++ b/lib/presentation/screens/scooter_code_input_screen.dart @@ -114,7 +114,7 @@ class _ScooterCodeInputScreenState extends State { GradientButton( text: "Подтвердить", - enabled: isCodeValid && state is! ScooterCodeLoading, + enabled: state is! ScooterCodeLoading, onTap: () { context.read().add( ScooterCodeSubmitted(state.code), diff --git a/pubspec.yaml b/pubspec.yaml index 290f5ab..6e96964 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: be_happy description: "" publish_to: 'none' -version: 1.0.0+23 +version: 1.0.2+1 environment: sdk: ^3.8.1