mirror of
https://github.com/Microsoft/calculator.git
synced 2025-07-16 02:02:51 -07:00
Remove partial keyword from Globals (#1909)
Globals does not need to be a partial class at all
This commit is contained in:
parent
edf08514a6
commit
35f4d7e75a
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue