mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 07:01:24 +00:00
commit
aaf85b50d4
@ -310,6 +310,7 @@ RefPtr<FrameNode> SheetView::BuildMainTitle(RefPtr<FrameNode> sheetNode, NG::She
|
||||
|
||||
RefPtr<FrameNode> SheetView::BuildSubTitle(RefPtr<FrameNode> sheetNode, NG::SheetStyle& sheetStyle)
|
||||
{
|
||||
CHECK_NULL_RETURN(sheetNode, nullptr);
|
||||
auto pattern = sheetNode->GetPattern<SheetPresentationPattern>();
|
||||
CHECK_NULL_RETURN(pattern, nullptr);
|
||||
auto subtitleId = pattern->GetSubtitleId();
|
||||
|
@ -65,6 +65,7 @@ RefPtr<StepperComponent> StepperComposedElement::GetStepperComponent() const
|
||||
void StepperComposedElement::UpdateChildWithSlot(int32_t slot, const RefPtr<Component>& newComponent)
|
||||
{
|
||||
auto stepperComponent = GetStepperComponent();
|
||||
CHECK_NULL_VOID(stepperComponent);
|
||||
stepperComponent->InsertChild(slot, newComponent);
|
||||
auto renderStepper = GetInspectorElement<RenderStepper>(StepperElement::TypeId());
|
||||
if (!renderStepper) {
|
||||
|
Loading…
Reference in New Issue
Block a user