refactor: 消除警告信息

This commit is contained in:
Argo-Tianyi 2021-12-22 12:33:51 +08:00
parent 7ca930a12c
commit e903eac47b
1 changed files with 1 additions and 1 deletions

View File

@ -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 ?? "未设置";
} }