This repository was archived by the owner on Jul 2, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff 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 } ;
You can’t perform that action at this time.
0 commit comments