mirror of
https://github.com/bitwarden/android.git
synced 2024-12-28 03:48:31 +03: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
2 changed files with 0 additions and 11 deletions
|
@ -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 a new issue