Add AppContext object, move platform features to AppContext
This commit is contained in:
parent
5e12f5ce93
commit
7b4020523e
6 changed files with 79 additions and 50 deletions
|
|
@ -68,7 +68,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage
|
|||
var previewButton = buttonFactory.Generate("Preview".Localize().ToUpper());
|
||||
previewButton.Click += (s, e) =>
|
||||
{
|
||||
MatterControlApplication.Instance.OpenCameraPreview();
|
||||
AppContext.Platform.OpenCameraPreview();
|
||||
};
|
||||
|
||||
this.AddSettingsRow(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue