Progress with icons (not working)

This commit is contained in:
watsonb8
2019-12-03 11:31:02 -08:00
parent 6bb4b5fdd5
commit c24ff95bfc
16 changed files with 72 additions and 12 deletions

View File

@@ -12,14 +12,12 @@ namespace Aurora.gtk
{
Gtk.Application.Init();
LibVLCSharpFormsRenderer.Init();
// For some reason, Xamarin does not pick the LibVLCSharp.Form.Platforms.Gtk assembly as a renderer assembly.
// Add it manually.
//Also css doesn't work without adding the Xaml assembly
global::Xamarin.Forms.Forms.Init(new[] { typeof(LibVLCSharp.Forms.Platforms.GTK.VideoViewRenderer).Assembly, typeof(Xamarin.Forms.Xaml.ArrayExtension).Assembly });
if (PlatformHelper.GetGTKPlatform() == GTKPlatform.Windows)
{
GtkThemes.LoadCustomTheme("Themes/gtkrc-dark");