Add title to PlantPage

Set Plant Name as Title
This commit is contained in:
2019-03-27 19:18:46 +01:00
parent 8be57fb3df
commit 5dc9007ad2

View File

@@ -25,7 +25,10 @@ namespace PlantBox.Client.Forms
{
var plant = (PlantInfo)e.Item;
await Navigation.PushAsync(new PlantPage(plant));
await Navigation.PushAsync(new PlantPage(plant)
{
Title = plant.Name
});
}
protected override bool OnBackButtonPressed()