Skip to content

Commit

Permalink
Bump to latest (rc1)
Browse files Browse the repository at this point in the history
- ImageButtonHandler and Handler Re-usability (dotnet#2352)
- Remove IBoxView (dotnet#2619)
- Add SupportedOSPlatformVersion (dotnet#2565)
- Merge all the .NET 6 projects/solutions (dotnet#2505)
- Shadow Support (dotnet#570)
- Add IndicatorView handler(dotnet#2038)
  • Loading branch information
rookiejava authored and myroot committed Aug 24, 2022
1 parent 67f864f commit c25eb90
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 42 deletions.
15 changes: 12 additions & 3 deletions src/Core/src/Handlers/Button/ButtonHandler.Tizen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,18 @@ public static Task MapImageSourceAsync(IButtonHandler handler, IImageButton imag
return handler.ImageSourceLoader.UpdateImageSourceAsync();
}

//TODO : Need to impl
[MissingMapper]
public static void MapImageSource(ButtonHandler handler, IButton image) { }
public static void MapImageSource(IButtonHandler handler, IButton image) =>
MapImageSourceAsync(handler, image).FireAndForget(handler);

public static Task MapImageSourceAsync(IButtonHandler handler, IButton image)
{
if (image.ImageSource == null)
{
return Task.CompletedTask;
}

return handler.ImageSourceLoader.UpdateImageSourceAsync();
}

[MissingMapper]
public static void MapCharacterSpacing(IButtonHandler handler, ITextStyle button) { }
Expand Down
39 changes: 0 additions & 39 deletions src/Core/src/ImageSources/Tizen/ImageSourceServiceResult.cs

This file was deleted.

0 comments on commit c25eb90

Please sign in to comment.