fixed reset

This commit is contained in:
Mohamed Nouffer
2023-09-15 20:58:55 +05:30
parent 93dacc35ae
commit 0ca29a5293
2 changed files with 2 additions and 2 deletions

View File

@ -448,6 +448,7 @@ class BottomSheetNew extends GetView<BottomSheetController> {
true true
? ElevatedButton( ? ElevatedButton(
onPressed: () { onPressed: () {
destinationController.resetRogaining();
destinationController.is_in_rog.value = destinationController.is_in_rog.value =
true; true;
destinationController.addToRogaining( destinationController.addToRogaining(
@ -460,7 +461,6 @@ class BottomSheetNew extends GetView<BottomSheetController> {
ExternalService() ExternalService()
.StartRogaining() .StartRogaining()
.then((value){ .then((value){
destinationController.resetRogaining();
Get.back(); Get.back();
}); });
}, },

View File

@ -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. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at # Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.22+22 version: 1.0.23+23
environment: environment:
sdk: '>=3.1.0 <4.0.0' sdk: '>=3.1.0 <4.0.0'