feature: add flower
This commit is contained in:
16
FlowerApp/Platforms/iOS/Handlers/OptionDatePickerHandler.cs
Normal file
16
FlowerApp/Platforms/iOS/Handlers/OptionDatePickerHandler.cs
Normal 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;
|
||||
}
|
||||
}
|
16
FlowerApp/Platforms/iOS/Handlers/OptionEntryHandler.cs
Normal file
16
FlowerApp/Platforms/iOS/Handlers/OptionEntryHandler.cs
Normal 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;
|
||||
}
|
||||
}
|
16
FlowerApp/Platforms/iOS/Handlers/OptionTimePickerHandler.cs
Normal file
16
FlowerApp/Platforms/iOS/Handlers/OptionTimePickerHandler.cs
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user