Moved redeem code into ApplicationController

This commit is contained in:
Lars Brubaker 2016-11-14 16:50:55 -08:00
parent 0beb684a69
commit bfa1d735fc
4 changed files with 7 additions and 7 deletions

View file

@ -219,7 +219,7 @@ namespace MatterHackers.MatterControl
redeemPurchaseButton.Margin = new BorderDouble(0, 0, 10, 0);
redeemPurchaseButton.Click += (sender, e) =>
{
MatterControlApplication.Instance.RedeemDesignCode?.Invoke();
ApplicationController.Instance.RedeemDesignCode?.Invoke();
};
buttonContainer.AddChild(redeemPurchaseButton);
@ -230,7 +230,7 @@ namespace MatterHackers.MatterControl
redeemShareButton.Margin = new BorderDouble(0, 0, 10, 0);
redeemShareButton.Click += (sender, e) =>
{
MatterControlApplication.Instance.EnterShareCode?.Invoke();
ApplicationController.Instance.EnterShareCode?.Invoke();
};
if (!signedIn)