1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-14 23:33:34 +00:00

PM-3349 Added Handler that enables the ExtendedDatePicker to get IsFocused events in Android. This is a workaround for fixing the current bug where it's not possible to select the "current day" in the expiration date of a Send.

Fix for TimePicker not displaying default Time Value
Updated some "Device" code to the new MAUI "DeviceInfo"
This commit is contained in:
Dinis Vieira
2023-11-02 02:32:12 +00:00
parent e90409d842
commit 946c465f0c
12 changed files with 120 additions and 56 deletions

View File

@@ -1,8 +1,4 @@
using System;
using Microsoft.Maui.Controls;
using Microsoft.Maui;
namespace Bit.App.Controls
namespace Bit.App.Controls
{
public class ExtendedDatePicker : DatePicker
{
@@ -83,5 +79,11 @@ namespace Bit.App.Controls
}
}
}
//Currently the Disconnect Handler needs to be manually called from the App: https://github.com/dotnet/maui/issues/3604
public void DisconnectHandler()
{
Handler?.DisconnectHandler();
}
}
}