private string StringForDisplayType(TLCallDisplayType type) { switch (type) { case TLCallDisplayType.Outgoing: return(Strings.Resources.CallMessageOutgoing); case TLCallDisplayType.Incoming: return(Strings.Resources.CallMessageIncoming); case TLCallDisplayType.Cancelled: return(Strings.Resources.CallMessageOutgoingMissed); case TLCallDisplayType.Missed: return(Strings.Resources.CallMessageIncomingMissed); default: return(null); } }
private string StringForDisplayType(TLCallDisplayType type) { switch (type) { case TLCallDisplayType.Outgoing: return(AppResources.CallOutgoingShort); case TLCallDisplayType.Incoming: return(AppResources.CallIncomingShort); case TLCallDisplayType.Cancelled: return(AppResources.CallCanceledShort); case TLCallDisplayType.Missed: return(AppResources.CallMissedShort); default: return(null); } }