Skip to content

Commit

Permalink
chore: Review comments
Browse files Browse the repository at this point in the history
(cherry picked from commit 2582266)
  • Loading branch information
Youssef1313 authored and mergify[bot] committed Jul 8, 2024
1 parent ec38ee2 commit 4515bc2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Uno.UI/UI/Xaml/Controls/TextBlock/TextBlock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ private void OnIsTextTrimmedChanged()
#endregion

// While font family itself didn't change, OnFontFamilyChanged will invalidate whatever
// needed for the rendering to happen correct on the next frame.
// needed for the rendering to happen correctly on the next frame.
internal void OnFontLoaded() => OnFontFamilyChanged();

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Uno.UI/UI/Xaml/Documents/TextElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public FontFamily FontFamily
);

// While font family itself didn't change, OnFontFamilyChanged will invalidate whatever
// needed for the rendering to happen correct on the next frame.
// needed for the rendering to happen correctly on the next frame.
internal void OnFontLoaded() => OnFontFamilyChanged();

protected virtual void OnFontFamilyChanged()
Expand Down
4 changes: 2 additions & 2 deletions src/Uno.UWP/Storage/Helpers/StorageFileHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ namespace Windows.Storage.Helpers;
internal partial class StorageFileHelper
{
/// <summary>
/// Determines if an asset or resource exists within application package
/// Determines if an asset or resource exists within the application package
/// </summary>
/// <param name="fileName">relative file path</param>
/// <returns>A task that will complete with a result of true if file exists, otherwise with a result of false.</returns>
/// <returns>A task that will complete with a result of true if the file exists, otherwise with a result of false.</returns>
public static async Task<bool> ExistsInPackage(string fileName) => await FileExistsInPackage(fileName);

#if IS_UNIT_TESTS || __NETSTD_REFERENCE__
Expand Down

0 comments on commit 4515bc2

Please sign in to comment.