Skip to content

Commit

Permalink
Clean up styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lauren-ciha committed Sep 24, 2024
1 parent 131d2d3 commit dd10c32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions extensions/CoreWidgetProvider/CoreWidgetProvider.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
</PackageReference>
<PackageReference Include="Microsoft.Windows.DevHome.SDK" Version="0.700.544" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240311000" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Serilog" Version="4.0.1" />
<PackageReference Include="Serilog.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="8.0.2" />
Expand Down
7 changes: 2 additions & 5 deletions extensions/CoreWidgetProvider/Widgets/SSHWalletWidget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,8 @@ public override void OnCustomizationRequested(WidgetCustomizationRequestedArgs c
SetConfigure();
}

/*
* Now that the WidgetViewModel uses the MergeJsonData function, we can
* expect args.Data to be a json string object with the following structure:
* data: "hostname"
*/
// This function assumes arg.Data will be a json string object with the following structure:
// { "data": "hostname" }
private void HandleConnect(WidgetActionInvokedArgs args)
{
var jsonObject = JObject.Parse(args.Data);
Expand Down

0 comments on commit dd10c32

Please sign in to comment.