|
|
|
@ -380,8 +380,6 @@ public class XCreatorUtils {
|
|
|
|
|
|
|
|
|
|
public static void setupTemplateTheme(XCreator container, final FormTheme currentTemplateUsingTheme, TemplateThemeCompatible compatible) { |
|
|
|
|
FineColorGather colorGather = new FineColorManager.FineColorReplaceByTheme(currentTemplateUsingTheme, compatible); |
|
|
|
|
FineColorFlushUtils.replaceCacheObject(container.toData(), colorGather); |
|
|
|
|
FineColorManager.traverse(container.toData(), colorGather); |
|
|
|
|
Form.traversalWidget(container.toData(), new WidgetGather() { |
|
|
|
|
@Override |
|
|
|
|
public void dealWith(Widget widget) { |
|
|
|
@ -394,5 +392,7 @@ public class XCreatorUtils {
|
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
}, TemplateThemeAware.class); |
|
|
|
|
FineColorFlushUtils.replaceCacheObject(container.toData(), colorGather); |
|
|
|
|
FineColorManager.traverse(container.toData(), colorGather); |
|
|
|
|
} |
|
|
|
|
} |