From 9ae46837259e416de355d44ef767e5c1c87584bb Mon Sep 17 00:00:00 2001 From: Vladyslav Yefymochkyn <74787627+vladyslavyefymochkyn@users.noreply.github.com> Date: Mon, 23 Nov 2020 13:49:40 +0200 Subject: [PATCH] GetLeftButtonForCenterPanel - Add virtual keyword Added virtual keyword for GetLeftButtonForCenterPanel() to be able override it in subclass --- iOS/SidePanels/source/SidePanels/SidePanelController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/SidePanels/source/SidePanels/SidePanelController.cs b/iOS/SidePanels/source/SidePanels/SidePanelController.cs index ebd1e0d08a..60f0af9785 100644 --- a/iOS/SidePanels/source/SidePanels/SidePanelController.cs +++ b/iOS/SidePanels/source/SidePanels/SidePanelController.cs @@ -655,7 +655,7 @@ public virtual void StylePanel(UIView panel) /// Default button to place in gestureViewControllers top viewController. Override in sublcass to change look of default button /// /// The left button for center panel. - public UIBarButtonItem GetLeftButtonForCenterPanel() + public virtual UIBarButtonItem GetLeftButtonForCenterPanel() { return new UIBarButtonItem(DefaultImage, UIBarButtonItemStyle.Plain, (sender, e) => ToggleLeftPanel()); }