Skip to content
This repository was archived by the owner on Jul 2, 2022. It is now read-only.

Commit 1a3dd60

Browse files
committed
Fully Fix Issue/Pull Request Description Issue
Fixes #409
1 parent 4360cfb commit 1a3dd60

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

CodeHub.iOS/Views/Issues/IssueView.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public override void ViewDidLoad()
109109
var markdown = new MarkdownWebView { Model = model };
110110
var html = markdown.GenerateString();
111111
_descriptionElement.SetValue(string.IsNullOrEmpty(description) ? null : html);
112-
112+
Render();
113113
});
114114

115115
ViewModel.BindCollection(x => x.Comments).Subscribe(_ => RenderComments().ToBackground());
@@ -204,7 +204,6 @@ protected virtual void Render()
204204
if (_descriptionElement.HasValue)
205205
secDetails.Add(_descriptionElement);
206206

207-
208207
secDetails.Add(_assigneeElement);
209208
secDetails.Add(_milestoneElement);
210209
secDetails.Add(_labelsElement);

CodeHub.iOS/Views/PullRequests/PullRequestView.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ public override void ViewDidLoad()
7878
_split2.Button1.Text = x.User.Login;
7979
_split2.Button2.Text = x.CreatedAt.ToString("MM/dd/yy");
8080

81-
82-
83-
8481
HeaderView.Text = x.Title ?? Title;
8582
HeaderView.SubText = "Updated " + x.UpdatedAt.Humanize();
8683
HeaderView.SetImage(x.User?.AvatarUrl, Images.Avatar);
@@ -94,6 +91,7 @@ public override void ViewDidLoad()
9491
var markdown = new MarkdownWebView { Model = model };
9592
var html = markdown.GenerateString();
9693
_descriptionElement.SetValue(string.IsNullOrEmpty(description) ? null : html);
94+
Render();
9795
});
9896

9997
var actionButton = NavigationItem.RightBarButtonItem = new UIBarButtonItem(UIBarButtonSystemItem.Action) { Enabled = false };

0 commit comments

Comments
 (0)