Rename salesbook
This commit is contained in:
15
salesbook.Maui/Core/Services/FormFactor.cs
Normal file
15
salesbook.Maui/Core/Services/FormFactor.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using salesbook.Shared.Core.Interface;
|
||||
|
||||
namespace salesbook.Maui.Core.Services;
|
||||
|
||||
public class FormFactor : IFormFactor
|
||||
{
|
||||
public string GetFormFactor()
|
||||
{
|
||||
return DeviceInfo.Idiom.ToString();
|
||||
}
|
||||
public string GetPlatform()
|
||||
{
|
||||
return DeviceInfo.Platform.ToString() + " - " + DeviceInfo.VersionString;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user