Projektanker/Icons.Avalonia

Unable to get to fonts

tofutim opened this issue · 1 comments

Hi, I am developing in JetBrains Rider on Mac. When I try to access the fonts, I get

Unhandled exception. System.Collections.Generic.KeyNotFoundException: No provider with prefix matching "fab fa-github" found.
   at Projektanker.Icons.Avalonia.IconProvider.GetIconPath(String value)
   at Projektanker.Icons.Avalonia.Icon.OnValueChanged()

image

I have loaded the three packages from Nuget so it seems like it should work. Also registered in

        // Called after setup
        private static void AfterSetupCallback(AppBuilder appBuilder)
        {
            // Register icon provider(s)
            IconProvider.Register<FontAwesomeIconProvider>();
            IconProvider.Register<MaterialDesignIconProvider>();
        }

Never mind .AfterSetup(AfterSetupCallback)