refactor: 消除警告信息
This commit is contained in:
parent
7ca930a12c
commit
e903eac47b
|
@ -29,5 +29,5 @@ public partial class NavigationTree
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
}
|
}
|
||||||
|
|
||||||
private string GetApp(string app) => DictService.GetApps().FirstOrDefault(i => i.Value == app)?.Text ?? "未设置";
|
private string GetApp(string? app) => DictService.GetApps().FirstOrDefault(i => i.Value == app)?.Text ?? "未设置";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue