InteractionDisplayParameters null 처리 강화
This commit is contained in:
parent
16415ac426
commit
c40adf2eb6
@ -34,7 +34,7 @@ public struct InteractionDisplayParameters
|
||||
public InteractionDisplayParameters(string defaultMessageKey, string conditionalMessageKey = null)
|
||||
{
|
||||
DefaultMessageKey = defaultMessageKey ?? string.Empty;
|
||||
ConditionalMessageKey = conditionalMessageKey ?? DefaultMessageKey;
|
||||
ConditionalMessageKey = string.IsNullOrWhiteSpace(conditionalMessageKey) ? DefaultMessageKey : conditionalMessageKey;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user