Skip to content

Commit

Permalink
chore: Address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed May 10, 2023
1 parent ebd3c97 commit 1144b9c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ private void AttachEventHandlers()
{
if (overflowPopup is { } overflowPopup4)
{
void actualPlacementChangedHandler(object sender, object args)
void actualPlacementChangedHandler(object? sender, object? args)
{
#if MUX_DEBUG
COMMANDBARFLYOUT_TRACE_VERBOSE(this, TRACE_MSG_METH_STR, METH_NAME, this, "OverflowPopup ActualPlacementChanged");
Expand Down Expand Up @@ -351,7 +351,7 @@ void keyDownHandler(object sender, KeyRoutedEventArgs args)

if (m_openingStoryboard is not null)
{
void StopOpeningStoryboard(object sender, object args) => m_openingStoryboard.Stop();
void StopOpeningStoryboard(object? sender, object? args) => m_openingStoryboard.Stop();
m_openingStoryboard.Completed += StopOpeningStoryboard;
m_openingStoryboardCompletedRevoker.Disposable = Disposable.Create(() => m_openingStoryboard.Completed -= StopOpeningStoryboard);
}
Expand Down Expand Up @@ -403,7 +403,7 @@ internal void PlayCloseAnimation(
{
if (closingStoryboard.GetCurrentState() != ClockState.Active)
{
void OnCompleted(object sender, object args)
void OnCompleted(object? sender, object? args)
{
if (weakCommandBarFlyout.Target is not null)
{
Expand Down Expand Up @@ -1330,7 +1330,7 @@ m_collapsedToExpandedUpStoryboardRevoker.Disposable is not null ||

private void AttachEventsToSecondaryStoryboards()
{
void addDropShadowFunc(object sender, object args)
void addDropShadowFunc(object? sender, object? args)
{
if (SharedHelpers.IsAnimationsEnabled())
{
Expand Down

0 comments on commit 1144b9c

Please sign in to comment.