Skip to content

Commit

Permalink
Revert more changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuarezruiz authored and PureWeen committed Mar 4, 2024
1 parent 301e1ae commit c1e38fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Controls/src/Core/Button/Button.iOS.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#nullable disable
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Maui.Controls.Platform;
using Microsoft.Maui.Graphics;
using Microsoft.Maui.Handlers;

namespace Microsoft.Maui.Controls
{
Expand All @@ -10,10 +14,6 @@ protected override Size ArrangeOverride(Rect bounds)
{
var result = base.ArrangeOverride(bounds);
Handler?.UpdateValue(nameof(ContentLayout));

if(ImageSource is not null)
Handler?.UpdateValue(nameof(IImage.Source));

return result;
}

Expand Down

0 comments on commit c1e38fe

Please sign in to comment.