Fix client add button

This commit is contained in:
2019-04-29 19:52:48 +02:00
parent 929b49a05c
commit b225953dbe

View File

@@ -66,7 +66,7 @@ namespace PlantBox.Client.Forms
private async Task<bool> IsValidId(ulong id)
{
string plantName = null;
string plantName = "";
try
{
@@ -85,7 +85,7 @@ namespace PlantBox.Client.Forms
}
return plantName != null;
return plantName != "";
}
private async void ListView_Refreshing(object sender, EventArgs e)