Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 62acdd4

Browse files
committed
Merge origin/master into shana/48-publish-sticks-around
2 parents fa9ba8c + e830675 commit 62acdd4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1558
-480
lines changed

src/GitHub.App/Controllers/UIController.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,22 +160,22 @@ void SetupView(UIViewType viewType, IView view)
160160
var dvm = factory.GetViewModel(UIViewType.TwoFactor);
161161
disposables.Add(dvm);
162162
var twofa = dvm.Value;
163-
twofa.WhenAny(x => x.IsShowing, x => x.Value)
163+
disposables.Add(twofa.WhenAny(x => x.IsShowing, x => x.Value)
164164
.Where(x => x)
165165
.ObserveOn(RxApp.MainThreadScheduler)
166-
.Subscribe(_ => Fire(Trigger.Next));
166+
.Subscribe(_ => Fire(Trigger.Next)));
167167

168-
view.Done
168+
disposables.Add(view.Done
169169
.ObserveOn(RxApp.MainThreadScheduler)
170-
.Subscribe(_ => Fire(Trigger.Finish));
170+
.Subscribe(_ => Fire(Trigger.Finish)));
171171
}
172172
else if (viewType != UIViewType.TwoFactor)
173173
{
174-
view.Done
174+
disposables.Add(view.Done
175175
.ObserveOn(RxApp.MainThreadScheduler)
176-
.Subscribe(_ => Fire(Trigger.Next));
176+
.Subscribe(_ => Fire(Trigger.Next)));
177177
}
178-
view.Cancel.Subscribe(_ => Stop());
178+
disposables.Add(view.Cancel.Subscribe(_ => Stop()));
179179
}
180180

181181
IView CreateViewAndViewModel(UIViewType viewType)

src/GitHub.App/Extensions/RepositoryModelExtensions.cs

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/GitHub.App/GitHub.App.csproj

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,14 @@
126126
<Compile Include="Caches\ImageCache.cs" />
127127
<Compile Include="Extensions\AkavacheExtensions.cs" />
128128
<Compile Include="Extensions\EnvironmentExtensions.cs" />
129-
<Compile Include="Extensions\RepositoryModelExtensions.cs" />
130129
<Compile Include="Extensions\ValidationExtensions.cs" />
130+
<Compile Include="GlobalSuppressions.cs" />
131131
<Compile Include="Infrastructure\LoggingConfiguration.cs" />
132+
<Compile Include="Resources.Designer.cs">
133+
<AutoGen>True</AutoGen>
134+
<DesignTime>True</DesignTime>
135+
<DependentUpon>Resources.resx</DependentUpon>
136+
</Compile>
132137
<Compile Include="Services\AvatarProvider.cs" />
133138
<Compile Include="Services\ImageDownloader.cs" />
134139
<Compile Include="Services\GitClient.cs" />
@@ -155,7 +160,6 @@
155160
<Compile Include="Caches\LoginCache.cs" />
156161
<Compile Include="Caches\SharedCache.cs" />
157162
<Compile Include="Factories\SqlitePersistentBlobCacheFactory.cs" />
158-
<Compile Include="GlobalSuppressions.cs" />
159163
<Compile Include="Info\GitHubUrls.cs" />
160164
<Compile Include="Infrastructure\ExportWrappers.cs" />
161165
<Compile Include="Models\Account.cs" />
@@ -263,6 +267,12 @@
263267
<Name>Rothko</Name>
264268
</ProjectReference>
265269
</ItemGroup>
270+
<ItemGroup>
271+
<EmbeddedResource Include="Resources.resx">
272+
<Generator>PublicResXFileCodeGenerator</Generator>
273+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
274+
</EmbeddedResource>
275+
</ItemGroup>
266276
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
267277
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
268278
<PropertyGroup>
-534 Bytes
Binary file not shown.

src/GitHub.App/Resources.Designer.cs

Lines changed: 288 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)