From 5367d214b8d84e657ee0cfd3a7802d499fecac8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Thu, 23 Mar 2023 19:52:16 +0800 Subject: [PATCH] iOS: fix crash when access flexConfig --- doric-iOS/Pod/Classes/Shader/DoricLayouts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doric-iOS/Pod/Classes/Shader/DoricLayouts.h b/doric-iOS/Pod/Classes/Shader/DoricLayouts.h index 436f9f62..cf84ab0c 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricLayouts.h +++ b/doric-iOS/Pod/Classes/Shader/DoricLayouts.h @@ -121,7 +121,7 @@ typedef NS_ENUM(NSInteger, DoricGravity) { @property(nonatomic, assign) CGFloat totalLength; -@property(nonatomic, assign) NSDictionary *flexConfig; +@property(nonatomic, copy) NSDictionary *flexConfig; - (instancetype)init;