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