Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#import <AdaptiveCards/MarkDownParser.h>
#import <AdaptiveCards/SharedAdaptiveCard.h>
#import <AdaptiveCards/TextBlock.h>
#import <AdaptiveCards/UtiliOS.h>

@implementation CustomImageRenderer

Expand Down Expand Up @@ -170,6 +171,8 @@ - (UIView *)render:(UIView<ACRIContentHoldingView> *)viewGroup
hostConfig:acoConfig];
view.translatesAutoresizingMaskIntoConstraints = NO;
wrappingview.translatesAutoresizingMaskIntoConstraints = NO;
configVisibility(wrappingview, elem);

return wrappingview;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

using namespace AdaptiveCards;

// configures tag and initial visibility of the given view. Toggle visibility action
// will access the view by the tag to change the visibility.
void configVisibility(UIView *view, std::shared_ptr<BaseCardElement> const &visibilityInfo);

void configSeparatorVisibility(ACRSeparator *view,
Expand Down