Using a simple .ico file in Navbar


#1

Hi, I have an icon I want to put in the navbar. I have changed the background color of the navbar (for a company’s theme) which is quite dark, so the ion icons (which are black) don’t stand out, so I need one that was done in white.

I’ve seen a few quite complicated discussions about it, but wondering why something as simple as the following is not working…

<ion-navbar>
<ion-buttons end> 
  <div>
    <link rel="shortcut icon" href="assets/icon/gear-16.ico" />
  </div>
  </ion-buttons> 
<ion-title >{{'LOGIN' | translate}}</ion-title>

I have put the gear-16.icon in the src/assets/icon and confirm that this is copied to the www/assets/icon.

Or is there some simpler way to previous discussions now (Jan 2017)

Thanks in advance!