Skip to content

Commit b5635ad

Browse files
committed
things
1 parent ab55a61 commit b5635ad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Controls/tests/DeviceTests/Elements/Button/ButtonTests.iOS.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ UIButton GetPlatformButton(ButtonHandler buttonHandler) =>
1717

1818
Task<string?> GetPlatformText(ButtonHandler buttonHandler)
1919
{
20-
return InvokeOnMainThreadAsync(() => GetPlatformButton(buttonHandler).CurrentTitle);
20+
return InvokeOnMainThreadAsync(() => (string?)GetPlatformButton(buttonHandler).CurrentTitle);
2121
}
2222

2323
UILineBreakMode GetPlatformLineBreakMode(ButtonHandler buttonHandler) =>

src/Essentials/test/UnitTests/Browser_Tests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.Threading.Tasks;
3+
using Microsoft.Maui;
34
using Microsoft.Maui.ApplicationModel;
45
using Xunit;
56

0 commit comments

Comments
 (0)