From 8a933df0e67f2dcbe1e3a4aceb5023da3257aa81 Mon Sep 17 00:00:00 2001 From: Vikram Kriplaney Date: Tue, 26 Aug 2014 16:54:09 +0200 Subject: [PATCH] Propagate tint color to alert view buttons. --- LMAlertView/LMAlertView.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LMAlertView/LMAlertView.m b/LMAlertView/LMAlertView.m index 2ad40d3..232b64a 100644 --- a/LMAlertView/LMAlertView.m +++ b/LMAlertView/LMAlertView.m @@ -679,7 +679,8 @@ - (id)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)in cell.lineView.hidden = lastRow; cell.textLabel.font = boldButton ? [UIFont boldSystemFontOfSize:17.0] : [UIFont systemFontOfSize:17.0]; cell.textLabel.text = labelText; - + cell.textLabel.textColor = self.tintColor; + return cell; }