Skip to content

Commit 9827716

Browse files
Merge pull request #105 from Kamalesh-Periyasamy/ToolkitButtonChanges
Resolved the button image not rendering properly when placed in a ListView or CollectionView
2 parents 8682db5 + b8953cd commit 9827716

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

maui/src/Button/SfButton.Methods.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,8 @@ void SfButton_PropertyChanged(object? sender, System.ComponentModel.PropertyChan
444444
{
445445
#if MACCATALYST || IOS
446446
InvalidateMeasure();
447-
#elif WINDOWS
448-
UpdateImageIcon();
449447
#endif
448+
UpdateImageIcon();
450449
}
451450
}
452451
}

0 commit comments

Comments
 (0)