feature: add flower

This commit is contained in:
2023-08-02 23:45:04 +08:00
parent 155ca9ad9c
commit 31cfaee4f0
55 changed files with 2416 additions and 308 deletions

View File

@ -0,0 +1,16 @@
using Microsoft.Maui.Handlers;
using Microsoft.Maui.Platform;
namespace Blahblah.FlowerApp.Platforms.iOS.Handlers;
class OptionDatePickerHandler : DatePickerHandler
{
protected override void ConnectHandler(MauiDatePicker platformView)
{
base.ConnectHandler(platformView);
platformView.BackgroundColor = UIKit.UIColor.Clear;
platformView.Layer.BorderWidth = 0;
platformView.BorderStyle = UIKit.UITextBorderStyle.None;
}
}

View File

@ -0,0 +1,16 @@
using Microsoft.Maui.Handlers;
using Microsoft.Maui.Platform;
namespace Blahblah.FlowerApp.Platforms.iOS.Handlers;
class OptionEntryHandler : EntryHandler
{
protected override void ConnectHandler(MauiTextField platformView)
{
base.ConnectHandler(platformView);
platformView.BackgroundColor = UIKit.UIColor.Clear;
platformView.Layer.BorderWidth = 0;
platformView.BorderStyle = UIKit.UITextBorderStyle.None;
}
}

View File

@ -0,0 +1,16 @@
using Microsoft.Maui.Handlers;
using Microsoft.Maui.Platform;
namespace Blahblah.FlowerApp.Platforms.iOS.Handlers;
class OptionTimePickerHandler : TimePickerHandler
{
protected override void ConnectHandler(MauiTimePicker platformView)
{
base.ConnectHandler(platformView);
platformView.BackgroundColor = UIKit.UIColor.Clear;
platformView.Layer.BorderWidth = 0;
platformView.BorderStyle = UIKit.UITextBorderStyle.None;
}
}