From 0ca29a5293d2f7f60d4cd7db67ad1b56151811b2 Mon Sep 17 00:00:00 2001 From: Mohamed Nouffer Date: Fri, 15 Sep 2023 20:58:55 +0530 Subject: [PATCH] fixed reset --- lib/widgets/bottom_sheet_new.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/widgets/bottom_sheet_new.dart b/lib/widgets/bottom_sheet_new.dart index 5d11f27..289075c 100644 --- a/lib/widgets/bottom_sheet_new.dart +++ b/lib/widgets/bottom_sheet_new.dart @@ -448,6 +448,7 @@ class BottomSheetNew extends GetView { true ? ElevatedButton( onPressed: () { + destinationController.resetRogaining(); destinationController.is_in_rog.value = true; destinationController.addToRogaining( @@ -460,7 +461,6 @@ class BottomSheetNew extends GetView { ExternalService() .StartRogaining() .then((value){ - destinationController.resetRogaining(); Get.back(); }); }, diff --git a/pubspec.yaml b/pubspec.yaml index 013609f..d74e7b6 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.0.22+22 +version: 1.0.23+23 environment: sdk: '>=3.1.0 <4.0.0'