Remove partial keyword from Globals (#1909)

Globals does not need to be a partial class at all
This commit is contained in:
Rose 2022-09-28 20:00:11 -04:00 committed by GitHub
parent edf08514a6
commit 35f4d7e75a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ namespace CalculatorApp
{
namespace ApplicationResourceKeys
{
public static partial class Globals
public static class Globals
{
public static readonly string AppMinWindowHeight = "AppMinWindowHeight";
public static readonly string AppMinWindowWidth = "AppMinWindowWidth";
@ -425,7 +425,7 @@ namespace CalculatorApp
ViewMode mode = option.ViewMode;
var item = JumpListItem.CreateWithArguments(((int)mode).ToString(), "ms-resource:///Resources/" + NavCategoryStates.GetNameResourceKey(mode));
item.Description = "ms-resource:///Resources/" + NavCategoryStates.GetNameResourceKey(mode);
item.Logo = new Uri("ms-appx:///Assets/" + mode.ToString() + ".png");
item.Logo = new Uri("ms-appx:///Assets/" + mode + ".png");
jumpList.Items.Add(item);
}