Fix client add button
This commit is contained in:
@@ -66,7 +66,7 @@ namespace PlantBox.Client.Forms
|
|||||||
|
|
||||||
private async Task<bool> IsValidId(ulong id)
|
private async Task<bool> IsValidId(ulong id)
|
||||||
{
|
{
|
||||||
string plantName = null;
|
string plantName = "";
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -85,7 +85,7 @@ namespace PlantBox.Client.Forms
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return plantName != null;
|
return plantName != "";
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void ListView_Refreshing(object sender, EventArgs e)
|
private async void ListView_Refreshing(object sender, EventArgs e)
|
||||||
|
|||||||
Reference in New Issue
Block a user