mirror of
https://github.com/Microsoft/calculator.git
synced 2025-07-11 07:46:01 -07:00
CalcViewModel code cleaning (#754)
* move KeyboardShortcutManager, ValidationConverter and ViewState to Calculator * remove dead code listed in #753 * remove Microsoft.UI.Xaml nuget package from CalcViewModel
This commit is contained in:
parent
712bdb1b7c
commit
2d177e5160
31 changed files with 77 additions and 378 deletions
|
@ -36,12 +36,6 @@ HistoryViewModel::HistoryViewModel(_In_ CalculationManager::CalculatorManager* c
|
|||
ItemSize = 0;
|
||||
}
|
||||
|
||||
void HistoryViewModel::RestoreCompleteHistory()
|
||||
{
|
||||
RestoreHistory(CalculationManager::CALCULATOR_MODE::CM_STD);
|
||||
RestoreHistory(CalculationManager::CALCULATOR_MODE::CM_SCI);
|
||||
}
|
||||
|
||||
// this will reload Items with the history list based on current mode
|
||||
void HistoryViewModel::ReloadHistory(_In_ ViewMode currentMode)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue