InteractionDisplayParameters null 처리 강화

This commit is contained in:
NTG 2025-08-29 14:11:47 +09:00
parent 16415ac426
commit c40adf2eb6

View File

@ -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;
}
}