CPラベルが1文字しか出ない、起動が遅い
This commit is contained in:
@ -408,11 +408,11 @@ class IndexController extends GetxController {
|
||||
if (value == null) {
|
||||
// APIからのレスポンスがnullの場合
|
||||
print("LocationService.loadLocationsBound からの回答がnullのため、マップをリロード");
|
||||
//DestinationController destinationController = Get.find<DestinationController>(); // 追加
|
||||
//final tk = currentUser[0]["token"]; // 追加
|
||||
//if (tk != null) { // 追加
|
||||
// destinationController.fixMapBound(tk); // 追加
|
||||
//} // 追加
|
||||
DestinationController destinationController = Get.find<DestinationController>(); // 追加
|
||||
final tk = currentUser[0]["token"]; // 追加
|
||||
if (tk != null) { // 追加
|
||||
destinationController.fixMapBound(tk); // 追加
|
||||
} // 追加
|
||||
return;
|
||||
}
|
||||
isLoading.value = false; // ローディング状態をfalseに設定
|
||||
|
||||
Reference in New Issue
Block a user