From d5193453a770cccb5a0b41eb16efa82cd08a1fa2 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Tue, 5 Jun 2012 11:53:57 +0200 Subject: [PATCH] #0000163: Use other titles for decline button --- Classes/PhoneViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/PhoneViewController.m b/Classes/PhoneViewController.m index 7309144ad..91872a2c4 100644 --- a/Classes/PhoneViewController.m +++ b/Classes/PhoneViewController.m @@ -270,9 +270,9 @@ mIncomingCallActionSheet = [[UIActionSheet alloc] initWithTitle:[NSString stringWithFormat:NSLocalizedString(@" %@ is calling you",nil),[displayName length]>0?displayName:username] delegate:cd - cancelButtonTitle:NSLocalizedString(@"Decline",nil) + cancelButtonTitle:nil destructiveButtonTitle:NSLocalizedString(@"Answer",nil) - otherButtonTitles:nil]; + otherButtonTitles:NSLocalizedString(@"Decline",nil),nil]; mIncomingCallActionSheet.actionSheetStyle = UIActionSheetStyleDefault; if ([LinphoneManager runningOnIpad]) {