mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-23 11:45:38 +01:00
Checked some [MAUI-Migration] and deleted when it's working as intended.
SearchBarHandlerMapping: IME options working as intended SliderHandlerMappings: The MAUI "replacement" for Color.Default seems to be White so the old use case doesn't seem to be needed anymore.
This commit is contained in:
parent
f1d59210f9
commit
f177968958
@ -15,11 +15,8 @@ namespace Bit.App.Handlers
|
||||
magImage.LayoutParameters = new Android.Widget.LinearLayout.LayoutParams(0, 0);
|
||||
}
|
||||
catch { }
|
||||
// TODO: [MAUI-Migration] [Check]
|
||||
handler.PlatformView.ImeOptions = handler.PlatformView.ImeOptions | (int)ImeFlags.NoPersonalizedLearning |
|
||||
(int)ImeFlags.NoExtractUi;
|
||||
//Control.SetImeOptions(Control.ImeOptions | (ImeAction)ImeFlags.NoPersonalizedLearning |
|
||||
// (ImeAction)ImeFlags.NoExtractUi);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -14,15 +14,7 @@ namespace Bit.App.Handlers
|
||||
var t = ResourcesCompat.GetDrawable(handler.PlatformView.Resources, Resource.Drawable.slider_thumb, null);
|
||||
if (t is GradientDrawable thumb && slider is ExtendedSlider extSlider)
|
||||
{
|
||||
// TODO: [MAUI-Migration]
|
||||
//if (view.ThumbColor == Colors.Default)
|
||||
//{
|
||||
// thumb.SetColor(Colors.White.ToAndroid());
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
thumb.SetColor(extSlider.ThumbColor.ToAndroid());
|
||||
//}
|
||||
thumb.SetStroke(3, extSlider.ThumbBorderColor.ToAndroid());
|
||||
handler.PlatformView.SetThumb(thumb);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user