Skip to content

Commit

Permalink
Changes just to see
Browse files Browse the repository at this point in the history
  • Loading branch information
EBusch committed Jan 5, 2024
1 parent dd684f9 commit 016353e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 1 addition & 0 deletions Float.Core/Float.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<Title>$(AssemblyName)</Title>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<LangVersion>9.0</LangVersion>
<ReleaseVersion>1.0.0</ReleaseVersion>
<Version></Version>
<UseMaui>true</UseMaui>
</PropertyGroup>
Expand Down
11 changes: 5 additions & 6 deletions Float.Core/UX/Coordinator.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Threading.Tasks;
using static Float.Core.UX.ICoordinator;
#if NETSTANDARD
using Xamarin.Forms;
#else
Expand Down Expand Up @@ -108,7 +107,7 @@ public virtual void Start()
}

/// <inheritdoc/>
public CoordinatorRequestFinishStatus RequestFinish(EventArgs args)
public ICoordinator.CoordinatorRequestFinishStatus RequestFinish(EventArgs args)
{
return HandleFinishRequested(this, args);
}
Expand All @@ -119,22 +118,22 @@ public CoordinatorRequestFinishStatus RequestFinish(EventArgs args)
/// <param name="coordinator">The coordinator that has requested this coordinator to finish.</param>
/// <param name="eventArgs">The event args.</param>
/// <returns>A value indicating whether this finished.</returns>
protected virtual CoordinatorRequestFinishStatus HandleFinishRequested(ICoordinator coordinator, EventArgs eventArgs)
protected virtual ICoordinator.CoordinatorRequestFinishStatus HandleFinishRequested(ICoordinator coordinator, EventArgs eventArgs)
{
if (this == coordinator)
{
if (managedPage == null)
{
Finish(eventArgs);
return CoordinatorRequestFinishStatus.FinishedImmediately;
return ICoordinator.CoordinatorRequestFinishStatus.FinishedImmediately;
}

WaitingToFinishEventArgs = eventArgs;
NavigationContext.Reset(false);
return CoordinatorRequestFinishStatus.PendingFinish;
return ICoordinator.CoordinatorRequestFinishStatus.PendingFinish;
}

return CoordinatorRequestFinishStatus.WillNotFinish;
return ICoordinator.CoordinatorRequestFinishStatus.WillNotFinish;
}

/// <summary>
Expand Down
3 changes: 1 addition & 2 deletions Float.Core/UX/CoordinatorParent.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using Float.Core.Extensions;
using static Float.Core.UX.ICoordinator;

namespace Float.Core.UX
{
Expand Down Expand Up @@ -119,7 +118,7 @@ public override string ToString()
}

/// <inheritdoc />
protected override CoordinatorRequestFinishStatus HandleFinishRequested(ICoordinator coordinator, EventArgs eventArgs)
protected override ICoordinator.CoordinatorRequestFinishStatus HandleFinishRequested(ICoordinator coordinator, EventArgs eventArgs)
{
WaitingToFinishEventArgs = eventArgs;

Expand Down

0 comments on commit 016353e

Please sign in to comment.