Merge pull request #2809 from bedalton/fixed-cocolor-parameter-to-cpstring

Fixed: Changed CPColor parameter to CPString
This commit is contained in:
Alexandre Wilhelm authored and GitHub committed 2019-03-29 15:00:59 -07:00
commit e948064063
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -267,7 +267,7 @@ var cachedBlackColor,
@return an initialized RGB color
*/
+ (CPColor)colorWithHexString:(string)hex
+ (CPColor)colorWithHexString:(CPString)hex
{
var rgba = hexToRGB(hex);
return rgba ? [[CPColor alloc] _initWithRGBA: rgba] : null;
+1 -1
View File
@@ -2152,7 +2152,7 @@ var themedButtonValues = nil,
[segmentedControl setTag:3 forSegment:2];
return segmentedControl;
}
};
+ (CPSegmentedControl)themedSegmentedControl
{