fixes the line edtion action
This commit is contained in:
parent
d814bde758
commit
813502c22d
1 changed files with 1 additions and 4 deletions
|
|
@ -17,9 +17,6 @@ namespace BookAStar.Pages
|
||||||
{
|
{
|
||||||
public partial class EditEstimatePage : ContentPage
|
public partial class EditEstimatePage : ContentPage
|
||||||
{
|
{
|
||||||
public Estimate Estimate { get { return BindingContext as Estimate; } set {
|
|
||||||
BindingContext = value;
|
|
||||||
} }
|
|
||||||
|
|
||||||
public EditEstimatePage(EstimateViewModel model)
|
public EditEstimatePage(EstimateViewModel model)
|
||||||
{
|
{
|
||||||
|
|
@ -46,7 +43,7 @@ namespace BookAStar.Pages
|
||||||
var com = new BillingLine();
|
var com = new BillingLine();
|
||||||
Resolver.Resolve<INavigationService>().NavigateTo<EditBillingLinePage>(
|
Resolver.Resolve<INavigationService>().NavigateTo<EditBillingLinePage>(
|
||||||
true,
|
true,
|
||||||
new object[] { new BillingLineViewModel(com) } );
|
new object[] { new BillingLineViewModel((Estimate)this.BindingContext,com) } );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue