mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-21 22:03:11 -07:00
save ctor
This commit is contained in:
parent
3a48c8857b
commit
2b98b2148a
1 changed files with 1 additions and 6 deletions
|
@ -31,7 +31,7 @@ namespace CalculatorApp.ManagedViewModels
|
|||
private bool _isAlwaysOnTop = false;
|
||||
private bool _displayNormalAlwaysOnTopOption;
|
||||
private string _categoryName;
|
||||
private IList<NavCategoryGroup> _categories;
|
||||
private IList<NavCategoryGroup> _categories = NavCategoryStates.CreateMenuOptions();
|
||||
|
||||
public const string WidthLocalSettingsKey = "calculatorAlwaysOnTopLastWidth";
|
||||
public const string HeightLocalSettingsKey = "calculatorAlwaysOnTopLastHeight";
|
||||
|
@ -196,11 +196,6 @@ namespace CalculatorApp.ManagedViewModels
|
|||
}
|
||||
}
|
||||
|
||||
public ApplicationViewModel()
|
||||
{
|
||||
Categories = NavCategoryStates.CreateMenuOptions();
|
||||
}
|
||||
|
||||
public async Task ToggleAlwaysOnTop(float width, float height)
|
||||
{
|
||||
var DefaultSize = new Size(320, 394);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue