add Android version
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using Xamarin.Essentials;
|
||||
using Xamarin.Essentials;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace Pixiview.UI
|
||||
@@ -25,8 +24,12 @@ namespace Pixiview.UI
|
||||
public const string IconSolidFontFamily = "FontAwesome5Pro-Solid";
|
||||
|
||||
public const string IconLeft = "\uf104";
|
||||
#else
|
||||
// TODO
|
||||
#elif __ANDROID__
|
||||
public const string IconLightFontFamily = "fa-light-300.ttf#FontAwesome5Pro-Light";
|
||||
public const string IconRegularFontFamily = "fa-regular-400.ttf#FontAwesome5Pro-Regular";
|
||||
public const string IconSolidFontFamily = "fa-solid-900.ttf#FontAwesome5Pro-Solid";
|
||||
|
||||
public const string IconLeft = "\uf053";
|
||||
#endif
|
||||
|
||||
public const string IconUser = "\uf007";
|
||||
@@ -103,7 +106,7 @@ namespace Pixiview.UI
|
||||
}
|
||||
#endif
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch (System.Exception ex)
|
||||
{
|
||||
App.DebugError("device.get", $"failed to get the device model. {ex.Message}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user