session-ios/Signal/src/util/DJWActionSheet+OWS.m
Christine Corbett ccdc4b5d17 Redesign implementation.
Result of stashed commits by @corbett and @abolishme
2015-01-24 16:28:34 -10:00

31 lines
676 B
Objective-C

//
// UIFont+OWS.m
// Signal
//
// Created by Christine Corbett Moran on 01/21/15.
// Copyright (c) 2015 Open Whisper Systems. All rights reserved.
//
#import "DJWActionSheet+OWS.h"
#import "UIColor+OWS.h"
@implementation DJWActionSheet (OWS)
+ (UIColor *)DJWActionSheetButtonBackgroundColorForState:(UIControlState)controlState
{
switch (controlState) {
case UIControlStateNormal:
return [UIColor whiteColor];
break;
case UIControlStateHighlighted:
return [UIColor ows_materialBlueColor];
break;
default:
return [UIColor whiteColor];
break;
}
}
@end