Using css after update (Fix your ish Microsoft)

This commit is contained in:
watsonb8
2019-11-30 15:46:09 -05:00
parent 042a0d466a
commit 82b8705a0c
6 changed files with 60 additions and 69 deletions

View File

@@ -1,6 +1,5 @@
using System;
using LibVLCSharp.Forms.Shared;
using Xamarin.Forms;
using Xamarin.Forms.Platform.GTK;
using Xamarin.Forms.Platform.GTK.Helpers;
@@ -16,7 +15,9 @@ namespace Aurora.gtk
// For some reason, Xamarin does not pick the LibVLCSharp.Form.Platforms.Gtk assembly as a renderer assembly.
// Add it manually.
global::Xamarin.Forms.Forms.Init(new[] { typeof(LibVLCSharp.Forms.Platforms.GTK.VideoViewRenderer).Assembly });
//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)