mirror of
https://github.com/bitwarden/mobile
synced 2025-12-16 08:13:20 +00:00
PM-3349 PM-3350 MAUI Migration Initial
This commit is contained in:
14
src/App/Platforms/Android/Handlers/ButtonHandlerMappings.cs
Normal file
14
src/App/Platforms/Android/Handlers/ButtonHandlerMappings.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace Bit.App.Handlers
|
||||
{
|
||||
public class ButtonHandlerMappings
|
||||
{
|
||||
public static void Setup()
|
||||
{
|
||||
Microsoft.Maui.Handlers.ButtonHandler.Mapper.AppendToMapping("CustomButtonHandler", (handler, button) =>
|
||||
{
|
||||
// WORKAROUND applied from https://github.com/dotnet/maui/issues/2918
|
||||
handler.PlatformView.StateListAnimator = null;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user