mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-22 00:54:26 +08:00
0.4.5
新增STCN 24组件,优化应用启动台,允许用户隐藏应用启动台图标。优化组件拖动排放。
This commit is contained in:
@@ -50,7 +50,7 @@ public sealed class ClassIslandScheduleDataService : IClassIslandScheduleDataSer
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(inputPath))
|
||||
{
|
||||
inputPath = ResolveImportedSchedulePathFromAppSettings();
|
||||
inputPath = ResolveImportedSchedulePathFromComponentSettings();
|
||||
}
|
||||
|
||||
var source = ResolveSource(inputPath, profileFileName, warnings);
|
||||
@@ -180,11 +180,11 @@ public sealed class ClassIslandScheduleDataService : IClassIslandScheduleDataSer
|
||||
return result;
|
||||
}
|
||||
|
||||
private static string? ResolveImportedSchedulePathFromAppSettings()
|
||||
private static string? ResolveImportedSchedulePathFromComponentSettings()
|
||||
{
|
||||
try
|
||||
{
|
||||
var snapshot = new AppSettingsService().Load();
|
||||
var snapshot = new ComponentSettingsService().Load();
|
||||
if (snapshot.ImportedClassSchedules.Count == 0)
|
||||
{
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user