mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 02:10:21 +08:00
chore: warning CS8625: Cannot convert null literal to non-nullable reference type.
[skip changelog]
This commit is contained in:
@@ -49,7 +49,7 @@ public class Root : INotifyPropertyChanged
|
||||
get
|
||||
{
|
||||
Configurations.TryGetValue(Current, out var result);
|
||||
return result;
|
||||
return result ?? new SpecificConfig();
|
||||
}
|
||||
|
||||
set => Configurations[Current] = value;
|
||||
|
||||
Reference in New Issue
Block a user