Skip to content

Commit

Permalink
[housekeeping] Automated PR to fix formatting errors (#1319)
Browse files Browse the repository at this point in the history
Automated dotnet-format update

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Aug 4, 2023
1 parent 7dffe1f commit a928697
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ void WebViewWebMessageReceived(WebView2 sender, CoreWebView2WebMessageReceivedEv
if (!string.IsNullOrEmpty(clickedInfoWindowWebViewId))
{
var clickedPin = VirtualView.Pins.SingleOrDefault(p => (p as Pin)?.Id.ToString().Equals(clickedInfoWindowWebViewId) ?? false);

var hideInfoWindow = clickedPin?.SendInfoWindowClick();
if (hideInfoWindow is not false)
{
Expand All @@ -456,7 +456,7 @@ void WebViewWebMessageReceived(WebView2 sender, CoreWebView2WebMessageReceivedEv
if (!string.IsNullOrEmpty(clickedPinWebViewId))
{
var clickedPin = VirtualView.Pins.SingleOrDefault(p => (p as Pin)?.Id.ToString().Equals(clickedPinWebViewId) ?? false);

var hideInfoWindow = clickedPin?.SendMarkerClick();
if (hideInfoWindow is not false)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ protected virtual partial void PlatformUpdateShouldShowPlaybackControls()

protected virtual partial void PlatformUpdatePosition()
{
if (MediaElement is not null
&& Player is not null
if (MediaElement is not null
&& Player is not null
&& allowUpdatePositionStates.Contains(MediaElement.CurrentState))
{
MediaElement.Position = Player.MediaPlayer.Position;
Expand Down Expand Up @@ -208,8 +208,8 @@ protected virtual partial void PlatformUpdateShouldKeepScreenOn()
if (MediaElement.ShouldKeepScreenOn)
{
if (MediaElement != null
&& allowUpdatePositionStates.Contains(MediaElement.CurrentState)
&& !displayActiveRequested)
&& allowUpdatePositionStates.Contains(MediaElement.CurrentState)
&& !displayActiveRequested)
{
DisplayRequest.RequestActive();
displayActiveRequested = true;
Expand Down

0 comments on commit a928697

Please sign in to comment.