mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Turn on collection update validation by default (#2174)
This commit is contained in:
@@ -28,8 +28,7 @@ ASDISPLAYNODE_EXTERN_C_END
|
||||
* Note that even if AsyncDisplayKit's exception is suppressed, the app may still crash
|
||||
* as it proceeds with an invalid update.
|
||||
*
|
||||
* This currently defaults to YES. In a future release it will default to NO and later
|
||||
* be removed entirely.
|
||||
* This property defaults to NO. It will be removed in a future release.
|
||||
*/
|
||||
+ (BOOL)suppressesInvalidCollectionUpdateExceptions;
|
||||
+ (void)setSuppressesInvalidCollectionUpdateExceptions:(BOOL)suppresses;
|
||||
|
||||
@@ -77,7 +77,7 @@ NSString * const ASRenderingEngineDidDisplayNodesScheduledBeforeTimestamp = @"AS
|
||||
@synthesize isFinalLayoutable = _isFinalLayoutable;
|
||||
@synthesize threadSafeBounds = _threadSafeBounds;
|
||||
|
||||
static BOOL suppressesInvalidCollectionUpdateExceptions = YES;
|
||||
static BOOL suppressesInvalidCollectionUpdateExceptions = NO;
|
||||
|
||||
+ (BOOL)suppressesInvalidCollectionUpdateExceptions
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user