[UWP] fixes crashing ActivityIndicator with COMException (#4988)
fixes #4982
This commit is contained in:
Родитель
fd11b9f991
Коммит
4dd44ef18c
|
@ -16,7 +16,8 @@ namespace Xamarin.Forms.Platform.UWP
|
|||
protected override Windows.Foundation.Size MeasureOverride(Windows.Foundation.Size availableSize)
|
||||
{
|
||||
var result = base.MeasureOverride(availableSize);
|
||||
result.Width = availableSize.Width;
|
||||
if (!double.IsInfinity(availableSize.Width))
|
||||
result.Width = availableSize.Width;
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче