From be2fd8a2d58826e38f02075e2f272f35711ba24c Mon Sep 17 00:00:00 2001 From: Sikander Saleem Date: Thu, 26 Jun 2025 16:30:56 +0300 Subject: [PATCH] 1.3.1+20 uploaded on stores --- lib/controllers/api_routes/urls.dart | 10 +++++----- lib/new_views/common_widgets/app_text_form_field.dart | 3 +++ .../user/update_user_contact_info_bottomsheet.dart | 6 ++++++ .../selection_fullscreen_dialog.dart | 3 ++- pubspec.yaml | 2 +- 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/lib/controllers/api_routes/urls.dart b/lib/controllers/api_routes/urls.dart index c3ba0d1d..ff04c64b 100644 --- a/lib/controllers/api_routes/urls.dart +++ b/lib/controllers/api_routes/urls.dart @@ -1,16 +1,16 @@ class URLs { URLs._(); - static const String appReleaseBuildNumber = "16"; + static const String appReleaseBuildNumber = "17"; - // static const host1 = "https://atomsm.hmg.com"; // production url + static const host1 = "https://atomsm.hmg.com"; // production url // static const host1 = "https://atomsmdev.hmg.com"; // local DEV url - static const host1 = "https://atomsmuat.hmg.com"; // local UAT url + // static const host1 = "https://atomsmuat.hmg.com"; // local UAT url - static String _baseUrl = "$_host/mobile"; + // static String _baseUrl = "$_host/mobile"; // static final String _baseUrl = "$_host/v2/mobile"; // new V2 apis // static final String _baseUrl = "$_host/mobile"; // host local UAT - // static final String _baseUrl = "$_host/v3/mobile"; // v3 for new CM,PM,TM + static final String _baseUrl = "$_host/v3/mobile"; // v3 for new CM,PM,TM static String _host = host1; diff --git a/lib/new_views/common_widgets/app_text_form_field.dart b/lib/new_views/common_widgets/app_text_form_field.dart index 227319f5..e607c105 100644 --- a/lib/new_views/common_widgets/app_text_form_field.dart +++ b/lib/new_views/common_widgets/app_text_form_field.dart @@ -24,6 +24,7 @@ class AppTextFormField extends StatefulWidget { final String? initialValue; final TextStyle? style; final TextStyle? labelStyle; + final TextStyle? hintStyle; final bool enable; final TextAlign? textAlign; final FocusNode? node; @@ -56,6 +57,7 @@ class AppTextFormField extends StatefulWidget { this.showPassword, this.hintText, this.labelText, + this.hintStyle, this.textInputType = TextInputType.text, this.initialValue, // Provide default value this.enable = true, @@ -210,6 +212,7 @@ class _AppTextFormFieldState extends State { hintText: widget.hintText ?? "", labelText: (widget.showSpeechToText && _speechToText.isListening) ? "Listening..." : widget.labelText ?? "", labelStyle: widget.labelStyle, + hintStyle: widget.labelStyle, prefixIcon: widget.prefixIcon ?? (widget.prefixIconData == null ? null diff --git a/lib/views/pages/user/update_user_contact_info_bottomsheet.dart b/lib/views/pages/user/update_user_contact_info_bottomsheet.dart index 538fbdb5..1f6eb1da 100644 --- a/lib/views/pages/user/update_user_contact_info_bottomsheet.dart +++ b/lib/views/pages/user/update_user_contact_info_bottomsheet.dart @@ -59,7 +59,9 @@ class _UpdateUserContactInfoBottomSheetState extends State extends State> alignment: Alignment.center, child: Row( mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.center, children: [ const Icon(Icons.clear, color: Colors.white, size: 16), 4.width, const Text( "Clear", - style: TextStyle(fontSize: 14, color: Colors.white), + style: TextStyle(fontSize: 14, color: Colors.white, height: 1), ) ], ).onPress(_selectedValue != null diff --git a/pubspec.yaml b/pubspec.yaml index fa1b6451..80503ddb 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.3.0+17 +version: 1.3.1+20 environment: sdk: ">=3.5.0 <4.0.0"