Fixed Cameraでクラッシュ、日付ズレ、遠くのチェックポイント表示、1日1回のプロテクト
This commit is contained in:
@ -431,7 +431,7 @@ class DestinationController extends GetxController {
|
||||
debugPrint("* 目的地がない場合 ==> 検知半径=-1の場合");
|
||||
|
||||
// print("----- in location popup cp - ${d.cp}----");
|
||||
if ((d.cp == -1 || d.cp==0 ) && DateTime.now().difference(lastGoalAt).inHours >= 24) {
|
||||
if ((d.cp == -1 || d.cp==0 ) && DateTime.now().difference(lastGoalAt).inHours >= 10) {
|
||||
debugPrint("**1: 開始CPで、最後にゴールしてから24時間経過していれば、");
|
||||
|
||||
chekcs = 1;
|
||||
@ -673,11 +673,11 @@ class DestinationController extends GetxController {
|
||||
|
||||
} else if (isInRog.value == false &&
|
||||
indexController.rogMode.value == 1 &&
|
||||
DateTime.now().difference(lastGoalAt).inHours >= 24) {
|
||||
DateTime.now().difference(lastGoalAt).inHours >= 10) {
|
||||
//start
|
||||
//print("---- in start -----");
|
||||
|
||||
debugPrint("**5 スタートの場合で最後のゴールから24時間経過している場合");
|
||||
debugPrint("**5 スタートの場合で最後のゴールから10時間経過している場合");
|
||||
|
||||
|
||||
chekcs = 6; // start point
|
||||
|
||||
Reference in New Issue
Block a user