Skip to content

Commit 4afcecc

Browse files
fix: clobbered using statements
1 parent 79329d5 commit 4afcecc

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/TwitchStreamingTools/Views/MainWindow.axaml.cs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
#if !DEBUG
2-
using Avalonia.Threading;
3-
42
using Microsoft.Extensions.DependencyInjection;
5-
#endif
6-
using TwitchStreamingTools.ViewModels;
7-
3+
#else
84
using Avalonia;
9-
5+
#endif
106
using System;
117
using System.Linq;
128
using System.Reflection;
@@ -17,6 +13,8 @@
1713

1814
using Nullinside.Api.Common.Desktop;
1915

16+
using TwitchStreamingTools.ViewModels;
17+
2018
namespace TwitchStreamingTools.Views;
2119

2220
/// <summary>
@@ -49,7 +47,7 @@ protected override void OnInitialized() {
4947
if (args.Contains("--update")) {
5048
_ = GitHubUpdateManager.PerformUpdateAndRestart("nullinside-development-group", "twitch-streaming-tools", args[2], "windows-x64.zip").ContinueWith(t => {
5149
Dispatcher.UIThread.Invoke(() => {
52-
var fuck = (this.DataContext as MainWindowViewModel);
50+
var fuck = DataContext as MainWindowViewModel;
5351
if (null == fuck) {
5452
return;
5553
}

0 commit comments

Comments
 (0)