cleanup
This commit is contained in:
parent
34e2e19269
commit
3f560757a4
@ -61,7 +61,17 @@ namespace eShopOnContainers.Core.Services.Basket
|
||||
|
||||
public Task CheckoutAsync(BasketCheckout basketCheckout, string token)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
if (string.IsNullOrEmpty(token))
|
||||
{
|
||||
return Task.FromResult(0);
|
||||
}
|
||||
|
||||
if (basketCheckout != null)
|
||||
{
|
||||
MockCustomBasket.Items.Clear();
|
||||
}
|
||||
|
||||
return Task.FromResult(0);
|
||||
}
|
||||
}
|
||||
}
|
@ -60,6 +60,8 @@
|
||||
TargetType="{x:Type Button}">
|
||||
<Setter Property="TextColor"
|
||||
Value="{StaticResource WhiteColor}" />
|
||||
<Setter Property="BackgroundColor"
|
||||
Value="{StaticResource LightGreenColor}" />
|
||||
|
||||
</Style>
|
||||
|
||||
@ -114,10 +116,9 @@
|
||||
Grid.Row="0"
|
||||
IsVisible="{Binding IsSubmittedOrder}">
|
||||
<Button
|
||||
BackgroundColor="{StaticResource LightGreenColor}"
|
||||
Command="{Binding ToggleCancelOrderCommand}"
|
||||
Text="CANCEL ORDER"
|
||||
Style="{StaticResource CancelOrderButtonStyle}">
|
||||
Command="{Binding ToggleCancelOrderCommand}"
|
||||
Text="CANCEL ORDER"
|
||||
Style="{StaticResource CancelOrderButtonStyle}">
|
||||
</Button>
|
||||
</StackLayout>
|
||||
<ScrollView
|
||||
|
Loading…
x
Reference in New Issue
Block a user