Fix 2803,2802,2800
This commit is contained in:
@ -561,7 +561,14 @@ class DestinationController extends GetxController {
|
||||
}
|
||||
});
|
||||
} else {
|
||||
Get.snackbar("始まっていない", "ロゲイニングを始める必要があります");
|
||||
Get.snackbar(
|
||||
"始まっていません",
|
||||
"ロゲ開始ボタンをタップして、ロゲイニングを始める必要があります",
|
||||
icon: const Icon(Icons.assistant_photo_outlined, size: 40.0, color: Colors.blue),
|
||||
snackPosition: SnackPosition.TOP,
|
||||
duration: const Duration(seconds: 3),
|
||||
backgroundColor: Colors.yellow,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -931,7 +938,11 @@ class DestinationController extends GetxController {
|
||||
}
|
||||
|
||||
void centerMapToCurrentLocation() {
|
||||
assert(() {
|
||||
print("center is ${currentLon}, ${currentLon}");
|
||||
return true;
|
||||
}());
|
||||
// Akira
|
||||
if (currentLat != 0 || currentLon != 0) {
|
||||
indexController.mapController.move(LatLng(currentLat, currentLon), 17.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user