We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e6baad commit bc69188Copy full SHA for bc69188
src/TwitchStreamingTools/ViewModels/Pages/AccountViewModel.cs
@@ -108,7 +108,7 @@ private async void OnCheckApiStatus() {
108
if (!string.Equals(api.OAuth?.AccessToken, Configuration.Instance.OAuth.Bearer) ||
109
!string.Equals(TwitchUsername, Configuration.Instance.TwitchUsername)) {
110
SetCredentials(TwitchUsername, new OAuthResponse {
111
- Bearer = api.OAuth.AccessToken,
+ Bearer = api.OAuth!.AccessToken!,
112
Refresh = api.OAuth.RefreshToken ?? string.Empty,
113
ExpiresUtc = api.OAuth.ExpiresUtc ?? DateTime.MinValue
114
});
src/TwitchStreamingTools/Views/MainWindow.axaml.cs
@@ -8,6 +8,8 @@
8
9
using Nullinside.Api.Common.Desktop;
10
11
+using TwitchStreamingTools.ViewModels;
12
+
13
namespace TwitchStreamingTools.Views;
14
15
/// <summary>
0 commit comments