added cancel buypoints
This commit is contained in:
@ -416,9 +416,15 @@ class BuyPointCamera extends StatelessWidget {
|
||||
: const Text("撮影")),
|
||||
const SizedBox(width: 10,),
|
||||
ElevatedButton(
|
||||
onPressed: () {
|
||||
destinationController.openCamera(
|
||||
context, destination);
|
||||
onPressed: () async {
|
||||
await destinationController.cancelBuyPoint(
|
||||
destination);
|
||||
Get.back();
|
||||
destinationController.rogaining_counted.value =
|
||||
true;
|
||||
destinationController.skip_gps = false;
|
||||
destinationController.is_photo_shoot.value =
|
||||
false;
|
||||
},
|
||||
child: const Text("買い物なし"))
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user