Workarounds for DesignTools Android

This commit is contained in:
John Lewin 2017-06-14 19:25:00 -07:00
parent 7e3c2ff4b6
commit d950e76722
8 changed files with 11 additions and 149 deletions

View file

@ -59,7 +59,7 @@ namespace MatterHackers.MatterControl.Library
this.ChildContainers = new List<ILibraryContainerLink>();
this.Items = new List<ILibraryItem>();
#if !__ANDROID__
if (OsInformation.OperatingSystem == OSType.Windows)
{
directoryWatcher = new FileSystemWatcher(path);
@ -77,7 +77,7 @@ namespace MatterHackers.MatterControl.Library
// Begin watching.
directoryWatcher.EnableRaisingEvents = true;
}
#endif
GetFilesAndCollectionsInCurrentDirectory();
}