In my Cross Platform Project, I have added a WPF project as well. I am using a MasterDetail page. I have a page called 'Settings'. This page has 4 icons on the Toolbar. One of the icon is called 'Login' and on click of it, we are navigated to the Login page.
await Navigation.PushAsync(new Login());
On this page, there are no icons on the Toolbar. But in WPF, all the icons of the 'Settings' page are displayed in the Login page as well. I tested it on UWP and Android. It works fine. The Toolbar items are not repeated. But only in WPF this causes issue.
Within the constructor, I kept a check for the count of the Toolbar items, It returns 0. Still when the page is displayed, it contains the icons from the 'Settings' page.
Any help would be greatly appreciated.