Commit 7de1a4f2 by M. Porooshani

The optional menuViewDelegate is getting called optionally now

parent f0bb68bc
......@@ -105,7 +105,7 @@ public class MenuView : MaterialPulseView {
}
}
(delegate as? MenuViewDelegate)?.menuViewDidTapOutside(self)
(delegate as? MenuViewDelegate)?.menuViewDidTapOutside?(self)
return super.hitTest(point, withEvent: event)
}
......
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