Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ToniMacaroni committed Apr 14, 2020
1 parent 7073486 commit 562caf3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion TrickSaber/TrickSaber.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
<Compile Include="UI\SettingsUI.cs" />
<Compile Include="InputHandling\ThumbstickHandler.cs" />
<Compile Include="SaberTrickManager.cs" />
<Compile Include="UI\TrickSaberPlugin.cs" />
<Compile Include="TrickSaberPlugin.cs" />
<Compile Include="VectorExtensions.cs" />
<Compile Include="ViewControllers\BindingsViewController.cs" />
<Compile Include="InputHandling\TriggerHandler.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public IEnumerator CheckVersion()
JSONNode releases = JSON.Parse(www.downloadHandler.text);
JSONNode latestRelease = releases[0];
JSONNode jsonnode = latestRelease["tag_name"];
string githubVerStr = (jsonnode != null) ? jsonnode.Value.Replace("-L", "") : null;
string githubVerStr = (jsonnode != null) ? jsonnode.Value : null;
Version githubVer = new Version(githubVerStr);
IsNewestVersion = !new Range($">{Plugin.Version}").IsSatisfied(githubVer);
}
Expand Down
3 changes: 1 addition & 2 deletions TrickSaber/UI/TrickSaberFlowCoordinator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ protected override void DidActivate(bool firstActivation, ActivationType activat
{
title = "Trick Settings";
showBackButton = true;
ProvideInitialViewControllers(bindingsViewController, miscViewController, thresholdViewController,
null, null);
ProvideInitialViewControllers(bindingsViewController, miscViewController, thresholdViewController);
}
}
catch (Exception e)
Expand Down

0 comments on commit 562caf3

Please sign in to comment.