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

Commit 70e0340

Browse files
committed
Updated Composers
1 parent 03fa771 commit 70e0340

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

CodeHub.iOS/Views/Issues/IssueAddView.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using MonoTouch.Dialog;
77
using System.Linq;
88
using CodeFramework.iOS.Utils;
9+
using CodeHub.iOS.ViewControllers;
910

1011
namespace CodeHub.iOS.Views.Issues
1112
{
@@ -45,7 +46,7 @@ public override void ViewDidLoad()
4546
var content = new MultilinedElement("Description");
4647
content.Tapped += () =>
4748
{
48-
var composer = new Composer { Title = "Issue Description", Text = content.Value };
49+
var composer = new MarkdownComposerViewController { Title = "Issue Description", Text = content.Value };
4950
composer.NewComment(this, (text) => {
5051
vm.Content = text;
5152
composer.CloseComposer();

CodeHub.iOS/Views/Source/ChangesetDiffView.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
using CodeHub.Core.ViewModels.Source;
1010
using CodeFramework.iOS.ViewControllers;
1111
using CodeFramework.iOS.Utils;
12-
using CodeFramework.Core.Services;
12+
using CodeFramework.Core.Services;
13+
using CodeHub.iOS.ViewControllers;
1314

1415
namespace CodeHub.ViewControllers
1516
{
@@ -122,7 +123,7 @@ private void PromptForComment(JavascriptCommentModel model)
122123

123124
private void ShowCommentComposer(int line)
124125
{
125-
var composer = new Composer();
126+
var composer = new MarkdownComposerViewController();
126127
composer.NewComment(this, async (text) => {
127128
try
128129
{

CodeHub.iOS/Views/Source/ChangesetView.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using CodeFramework.iOS.Utils;
99
using System.Linq;
1010
using MonoTouch.Foundation;
11+
using CodeHub.iOS.ViewControllers;
1112

1213
namespace CodeHub.iOS.Views.Source
1314
{
@@ -137,7 +138,7 @@ public void Render()
137138

138139
void AddCommentTapped()
139140
{
140-
var composer = new Composer();
141+
var composer = new MarkdownComposerViewController();
141142
composer.NewComment(this, async (text) => {
142143
try
143144
{

0 commit comments

Comments
 (0)