From 1c280a06c4ab4ba1916328638b5fb82e32ebe1f4 Mon Sep 17 00:00:00 2001 From: Sikander Saleem Date: Wed, 22 Jul 2026 10:55:16 +0300 Subject: [PATCH] v1.8.1+47 uploaded --- lib/controllers/api_routes/urls.dart | 6 +++--- lib/views/widgets/item_views/info_text_widget.dart | 11 ++++++++++- pubspec.yaml | 2 +- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/lib/controllers/api_routes/urls.dart b/lib/controllers/api_routes/urls.dart index 68fde900..d532385f 100644 --- a/lib/controllers/api_routes/urls.dart +++ b/lib/controllers/api_routes/urls.dart @@ -1,11 +1,11 @@ class URLs { URLs._(); - static const String appReleaseBuildNumber = "44"; + static const String appReleaseBuildNumber = "47"; - // 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 final String _baseUrl = "$_host/mobile"; // host local UAT // static final String _baseUrl = "$_host/v2/mobile"; // new V2 apis diff --git a/lib/views/widgets/item_views/info_text_widget.dart b/lib/views/widgets/item_views/info_text_widget.dart index cc589cbf..29f3fba0 100644 --- a/lib/views/widgets/item_views/info_text_widget.dart +++ b/lib/views/widgets/item_views/info_text_widget.dart @@ -1,6 +1,9 @@ +import 'dart:io'; + import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:test_sa/extensions/int_extensions.dart'; +import 'package:test_sa/extensions/string_extensions.dart'; import 'package:test_sa/extensions/text_extensions.dart'; import 'package:test_sa/extensions/widget_extensions.dart'; import 'package:test_sa/new_views/app_style/app_color.dart'; @@ -43,7 +46,13 @@ class InfoTextWidget extends StatelessWidget { children: [ Flexible(child: text), 8.width, - const Icon(Icons.copy_rounded, color: AppColor.primary10, size: 14).onPress(() => Clipboard.setData(ClipboardData(text: value!))), + const Icon(Icons.copy_rounded, color: AppColor.primary10, size: 14).onPress(() { + Clipboard.setData(ClipboardData(text: value!)).then((value) { + if (Platform.isIOS) { + "Copied.".addTranslation.showToast; + } + }); + }), ], ); } diff --git a/pubspec.yaml b/pubspec.yaml index 12581b33..3d3b693d 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.7.8+44 +version: 1.8.1+47 environment: sdk: ">=3.5.0 <4.0.0"