Commit 22aac67aa3422be4ee60c88970c9c423fbbe7977
1 parent
881d547d57
Exists in
master
Always request again when history view appear
Showing 1 changed file with 1 additions and 3 deletions Side-by-side Diff
LifeLog/LifeLog/HistoryViewController.m
... | ... | @@ -33,8 +33,6 @@ |
33 | 33 | |
34 | 34 | self.lblDatetime.text = [Utilities stringFromDate:_endDate withFormat:@"YYYY年MM月dd日 EEEE" locale:@"ja_JP"]; |
35 | 35 | |
36 | - [self checkRequestData]; | |
37 | - | |
38 | 36 | //register nib for table view |
39 | 37 | [self.tableBase registerNib:[UINib nibWithNibName:@"HistoryListTableViewCell" bundle:nil] forCellReuseIdentifier:@"HistoryListCell"]; |
40 | 38 | } |
... | ... | @@ -45,7 +43,7 @@ |
45 | 43 | self.scrollView.contentSize = CGSizeMake(self.view.frame.size.width, 400); |
46 | 44 | [self.scrollView setNeedsLayout]; |
47 | 45 | [self.scrollView setNeedsUpdateConstraints]; |
48 | - | |
46 | + [self checkRequestData]; | |
49 | 47 | } |
50 | 48 | |
51 | 49 | - (void)didReceiveMemoryWarning { |