mirror of
https://github.com/Microsoft/calculator.git
synced 2025-07-16 02:02:51 -07:00
fix crash: GetPolicyFromPathForUser (#1826)
This commit is contained in:
parent
4f6838fbd5
commit
d070cbad64
3 changed files with 13 additions and 6 deletions
|
@ -85,7 +85,8 @@ namespace CalculatorApp
|
|||
// If the app got pre-launch activated, then save that state in a flag
|
||||
m_preLaunched = true;
|
||||
}
|
||||
NavCategoryStates.SetCurrentUser(args.User);
|
||||
|
||||
NavCategoryStates.SetCurrentUser(args.User.NonRoamableId);
|
||||
|
||||
// It takes time to check GraphingMode at the 1st time. So, do it in a background thread
|
||||
Task.Run(() => NavCategoryStates.IsViewModeEnabled(ViewMode.Graphing));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue