зеркало из https://github.com/DeGsoft/maui-linux.git
Remove dead code (#1849)
This commit is contained in:
Родитель
96e01cc3fb
Коммит
54aa51c653
|
@ -34,8 +34,6 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
|
|||
int width = widthConstraint;
|
||||
if (widthConstraint <= 0)
|
||||
width = (int)Context.GetThemeAttributeDp(global::Android.Resource.Attribute.SwitchMinWidth);
|
||||
else if (widthConstraint <= 0)
|
||||
width = 100;
|
||||
|
||||
sizeConstraint = new SizeRequest(new Size(width, sizeConstraint.Request.Height), new Size(width, sizeConstraint.Minimum.Height));
|
||||
}
|
||||
|
|
|
@ -32,8 +32,6 @@ namespace Xamarin.Forms.Platform.Android
|
|||
int width = widthConstraint;
|
||||
if (widthConstraint <= 0)
|
||||
width = (int)Context.GetThemeAttributeDp(global::Android.Resource.Attribute.SwitchMinWidth);
|
||||
else if (widthConstraint <= 0)
|
||||
width = 100;
|
||||
|
||||
sizeConstraint = new SizeRequest(new Size(width, sizeConstraint.Request.Height), new Size(width, sizeConstraint.Minimum.Height));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче