Commit ed21b78f authored by Kateryna Kostiuk's avatar Kateryna Kostiuk

fix: constraints

This patch fix constraints to make remove account button clickable
on iPad.

Change-Id: I0252df2fbbcab492893d6154e89fb89866a09319
parent a8f30843
......@@ -322,6 +322,8 @@ class MeViewController: EditProfileViewController, StoryboardBased, ViewModelBas
cell.textLabel?.textAlignment = .center
cell.selectionStyle = .none
let button = UIButton.init(frame: cell.frame)
let size = CGSize(width: self.view.frame.width, height: button.frame.height)
button.frame.size = size
cell.addSubview(button)
button.rx.tap.subscribe(onNext: { [weak self] in
self?.confirmRemoveAccountAlert()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment