From b225953dbeea6c4769fc84f7dafb8940652d67d2 Mon Sep 17 00:00:00 2001 From: Eveldee Date: Mon, 29 Apr 2019 19:52:48 +0200 Subject: [PATCH] Fix client add button --- PlantBox.Client/PlantBox.Client/Forms/HomePage.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PlantBox.Client/PlantBox.Client/Forms/HomePage.xaml.cs b/PlantBox.Client/PlantBox.Client/Forms/HomePage.xaml.cs index 35192aa..5d7fe80 100644 --- a/PlantBox.Client/PlantBox.Client/Forms/HomePage.xaml.cs +++ b/PlantBox.Client/PlantBox.Client/Forms/HomePage.xaml.cs @@ -66,7 +66,7 @@ namespace PlantBox.Client.Forms private async Task 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)