Skip to content
This repository has been archived by the owner on Mar 12, 2022. It is now read-only.

Commit

Permalink
Fixed the issue #69
Browse files Browse the repository at this point in the history
  • Loading branch information
ramtinq committed Jun 2, 2021
1 parent 4f6401e commit 002c892
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/Classes/Native/NativeAdView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ class NativeAdView: NSObject, FlutterPlatformView {
subView = PaddedImageView(data: data)
case "button_view":
subView = UIButton()
subView.isUserInteractionEnabled = false
(subView as! UIButton).applyText(data: data)
(subView as! UIButton).contentMode = .scaleAspectFit
case .none:
Expand Down

0 comments on commit 002c892

Please sign in to comment.