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

Commit 06c7a01

Browse files
committed
More fixes :(
1 parent 8ba8713 commit 06c7a01

File tree

6 files changed

+13
-6
lines changed

6 files changed

+13
-6
lines changed

CodeHub.Core/CodeHub.Core.iOS.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@
126126
<ItemGroup>
127127
<Reference Include="System" />
128128
<Reference Include="System.Windows" />
129-
<Reference Include="System.Xml" />
130129
<Reference Include="System.Core" />
131130
<Reference Include="Cirrious.CrossCore">
132131
<HintPath>..\lib\CodeFramework\lib\iOS\Cirrious.CrossCore.dll</HintPath>

CodeHub.Core/ViewModels/Issues/IssueLabelsViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public ICommand SaveLabelChoices
6363
private async Task SelectLabels(IEnumerable<LabelModel> x)
6464
{
6565
//If nothing has changed, dont do anything...
66-
if (_originalLables != null && _originalLables.Intersect(x).Count() == _originalLables.Count())
66+
if (_originalLables != null && _originalLables.Count() == x.Count() && _originalLables.Intersect(x).Count() == x.Count())
6767
{
6868
ChangePresentation(new MvxClosePresentationHint(this));
6969
return;

CodeHub.iOS/CodeHub.iOS.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
<ConsolePause>false</ConsolePause>
2525
<MtouchLink>None</MtouchLink>
2626
<MtouchDebug>true</MtouchDebug>
27+
<MtouchI18n>
28+
</MtouchI18n>
29+
<MtouchArch>ARMv7</MtouchArch>
2730
</PropertyGroup>
2831
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
2932
<DebugType>none</DebugType>
@@ -32,7 +35,11 @@
3235
<ErrorReport>prompt</ErrorReport>
3336
<WarningLevel>4</WarningLevel>
3437
<ConsolePause>false</ConsolePause>
35-
<MtouchLink>None</MtouchLink>
38+
<MtouchUseLlvm>true</MtouchUseLlvm>
39+
<MtouchUseThumb>true</MtouchUseThumb>
40+
<MtouchI18n>
41+
</MtouchI18n>
42+
<MtouchArch>ARMv7</MtouchArch>
3643
</PropertyGroup>
3744
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
3845
<DebugSymbols>true</DebugSymbols>

CodeHub.iOS/Views/App/MenuView.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ public override void ViewDidLoad()
102102
TableView.SeparatorInset = UIEdgeInsets.Zero;
103103
TableView.SeparatorColor = UIColor.FromRGB(50, 50, 50);
104104

105-
ProfileButton.Uri = new System.Uri(ViewModel.Account.AvatarUrl);
105+
if (!string.IsNullOrEmpty(ViewModel.Account.AvatarUrl))
106+
ProfileButton.Uri = new System.Uri(ViewModel.Account.AvatarUrl);
106107

107108
ViewModel.Bind(x => x.Notifications, x =>
108109
{

0 commit comments

Comments
 (0)