diff --git a/contrib/mobile/iOS/Onelab/ParametersViewController.mm b/contrib/mobile/iOS/Onelab/ParametersViewController.mm index 1008c99c3b35f174cc2e34f820566413c816e3aa..f5da0e03d9063d564f57dfef6437939442209c1a 100644 --- a/contrib/mobile/iOS/Onelab/ParametersViewController.mm +++ b/contrib/mobile/iOS/Onelab/ParametersViewController.mm @@ -220,7 +220,7 @@ { if(!_lastRefresh) _lastRefresh = [NSDate date]; else { - if([_lastRefresh timeIntervalSinceNow] >= -1) return; + if([_lastRefresh timeIntervalSinceNow] >= -0.1) return; _lastRefresh = [NSDate date]; } [self refreshTableView]; // Get the param @@ -229,7 +229,7 @@ { if(((AppDelegate *)[UIApplication sharedApplication].delegate)->compute) { UIAlertView *alert; - alert = [[UIAlertView alloc] initWithTitle:@"Can't reset model's parameters" message:@"The compute have to be finished before you can reset model's parameters." delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil, nil]; + alert = [[UIAlertView alloc] initWithTitle:@"Can't reset model parameters" message:@"The computation has to complete before you can reset the parameters." delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil, nil]; [alert show]; return; }