Skip to content

Commit f2bbaa1

Browse files
committed
line_note - bugfix
1 parent a0881a5 commit f2bbaa1

File tree

4 files changed

+183
-31
lines changed

4 files changed

+183
-31
lines changed

Coding_iOS/Controllers/MRPRDetailViewController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
360360
}else{
361361
MRPRFilesViewController *vc = [MRPRFilesViewController new];
362362
vc.curMRPR = _curMRPR;
363+
vc.curMRPRInfo = _curMRPRInfo;
363364
vc.curProject = _curProject;
364365
[self.navigationController pushViewController:vc animated:YES];
365366
}

Coding_iOS/Controllers/MRPRFilesViewController.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@
1010
#import "MRPR.h"
1111
#import "FileChanges.h"
1212
#import "Project.h"
13+
#import "MRPRBaseInfo.h"
1314

1415
@interface MRPRFilesViewController : BaseViewController
1516
@property (strong, nonatomic) MRPR *curMRPR;
17+
@property (strong, nonatomic) MRPRBaseInfo *curMRPRInfo;
1618
@property (strong, nonatomic) Project *curProject;
1719

1820
@end

Coding_iOS/Controllers/MRPRFilesViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
174174
vc.curProject = _curProject;
175175
vc.commitId = curFileChange.commitId;
176176
vc.filePath = curFileChange.path;
177-
vc.noteable_id = _curMRPR.id.stringValue;
177+
vc.noteable_id = _curMRPRInfo.mrpr.id.stringValue;
178178
[self.navigationController pushViewController:vc animated:YES];
179179
}
180180
}

Coding_iOS/Resources/diff-ios.html

Lines changed: 179 additions & 30 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)