Fix memory

This commit is contained in:
Carl de Billy 2019-05-27 23:27:06 -04:00
commit c77a60420f
2 changed files with 6 additions and 6 deletions

View file

@ -21,11 +21,11 @@ namespace CalculatorApp
{ {
int windowId = -1; int windowId = -1;
var window = CoreWindow.GetForCurrentThread(); //var window = CoreWindow.GetForCurrentThread();
if (window != null) //if (window != null)
{ //{
windowId = ApplicationView.GetApplicationViewIdForWindow(window); // windowId = ApplicationView.GetApplicationViewIdForWindow(window);
} //}
return windowId; return windowId;
} }

View file

@ -1106,7 +1106,7 @@
<Setter Target="RootGrid.(RevealBrush.State)" <Setter Target="RootGrid.(RevealBrush.State)"
Value="PointerOver" /> Value="PointerOver" />
<Setter Target="RootGrid.Background" <Setter Target="RootGrid.Background"
Value="{ThemeResource SystemControlHighlightAccentRevealBackgroundBrush}" /> Value="{ThemeResource SystemAccentColor}" />
<Setter Target="ContentPresenter.Foreground" <Setter Target="ContentPresenter.Foreground"
Value="{ThemeResource SystemControlHighlightAltAltHighBrush}" /> Value="{ThemeResource SystemControlHighlightAltAltHighBrush}" />
</VisualState.Setters> </VisualState.Setters>