update
This commit is contained in:
@ -103,6 +103,8 @@ class DestinationController extends GetxController {
|
||||
void onInit() {
|
||||
PopulateDestinations();
|
||||
|
||||
print("------ in iniit");
|
||||
|
||||
|
||||
|
||||
if (defaultTargetPlatform == TargetPlatform.android) {
|
||||
@ -165,7 +167,7 @@ class DestinationController extends GetxController {
|
||||
void PopulateDestinations(){
|
||||
if(indexController.currentUser.isNotEmpty){
|
||||
int user_id = indexController.currentUser[0]["user"]["id"];
|
||||
//print(user_id);
|
||||
print(user_id);
|
||||
DestinationService.getDestinations(user_id).then((value){
|
||||
|
||||
MatrixService.getDestinations(value).then((mat){
|
||||
|
||||
Reference in New Issue
Block a user