ThemeState is a string now instead of an int on a CPView

This commit is contained in:
Saikat Chakrabarti
2014-02-23 16:03:56 -08:00
parent 68952b273b
commit b0d90bb612
+1 -1
View File
@@ -3353,7 +3353,7 @@ var CPViewAutoresizingMaskKey = @"CPViewAutoresizingMask",
_theme = [CPTheme defaultTheme];
_themeClass = [aCoder decodeObjectForKey:CPViewThemeClassKey];
_themeState = CPThemeState([aCoder decodeIntForKey:CPViewThemeStateKey]);
_themeState = CPThemeState([aCoder decodeObjectForKey:CPViewThemeStateKey]);
_themeAttributes = {};
var theClass = [self class],