@@ -210,33 +210,22 @@ - (MMTableViewSectionInfo *)createAbortRemokeMessageLimitCell {
210210- (void )addAboutSection {
211211 MMTableViewSectionInfo *sectionInfo = [objc_getClass (" MMTableViewSectionInfo" ) sectionInfoDefaut ];
212212
213- [sectionInfo addCell: [self createIntroductionCell ]];
214213 [sectionInfo addCell: [self createGithubCell ]];
215214 [sectionInfo addCell: [self createBlogCell ]];
216215
217216 [self .tableViewInfo addSection: sectionInfo];
218217}
219218
220- - (MMTableViewCellInfo *)createIntroductionCell {
221- return [objc_getClass (" MMTableViewCellInfo" ) normalCellForSel: @selector (showIntroduction ) target: self title: @" 使用说明" accessoryType: 1 ];
222- }
223-
224219- (MMTableViewCellInfo *)createGithubCell {
225- return [objc_getClass (" MMTableViewCellInfo" ) normalCellForSel: @selector (showGithub ) target: self title: @" 我的 Github" accessoryType: 1 ];
220+ return [objc_getClass (" MMTableViewCellInfo" ) normalCellForSel: @selector (showGithub ) target: self title: @" 我的 Github" rightValue: @" ★ star " accessoryType: 1 ];
226221}
227222
228223- (MMTableViewCellInfo *)createBlogCell {
229224 return [objc_getClass (" MMTableViewCellInfo" ) normalCellForSel: @selector (showBlog ) target: self title: @" 我的博客" accessoryType: 1 ];
230225}
231226
232- - (void )showIntroduction {
233- NSURL *introductionUrl = [NSURL URLWithString: @" https://github.com/buginux/WeChatRedEnvelop/blob/RedEnvelopPro/Introduction/Introduction.md" ];
234- MMWebViewController *webViewController = [[objc_getClass (" MMWebViewController" ) alloc ] initWithURL: introductionUrl presentModal: NO extraInfo: nil ];
235- [self .navigationController PushViewController: webViewController animated: YES ];
236- }
237-
238227- (void )showGithub {
239- NSURL *gitHubUrl = [NSURL URLWithString: @" https://www. github.com/buginux" ];
228+ NSURL *gitHubUrl = [NSURL URLWithString: @" https://github.com/buginux/WeChatRedEnvelop " ];
240229 MMWebViewController *webViewController = [[objc_getClass (" MMWebViewController" ) alloc ] initWithURL: gitHubUrl presentModal: NO extraInfo: nil ];
241230 [self .navigationController PushViewController: webViewController animated: YES ];
242231}
0 commit comments