refix setter user

Popup_qui_marche_pas
Anthony RICHARD 2 years ago
parent 414f26a1d0
commit 878b20c558

@ -17,7 +17,7 @@ namespace Model
get => username;
private set
{
if (string.IsNullOrWhiteSpace(value)) value = "Default";
if (string.IsNullOrWhiteSpace(value)) username = "Default";
else
{
username = value;
@ -32,7 +32,7 @@ namespace Model
get => biographie;
private set
{
if (string.IsNullOrWhiteSpace(value)) value = "Default";
if (string.IsNullOrWhiteSpace(value)) biographie = "Default";
else
{
biographie = value;

Loading…
Cancel
Save