From 2b9e3824f4a4579c45058fdd895d63ad2cea16ce Mon Sep 17 00:00:00 2001 From: Donatas Adamonis Date: Tue, 23 May 2017 20:03:47 +0200 Subject: w --- ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs b/ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs index 61fd912..aa5f415 100644 --- a/ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs +++ b/ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs @@ -173,7 +173,9 @@ namespace ApartmentManager.Handler try { ApartmentViewModel.UserSingleton.CurrentUser.Picture = await ImgurPhotoUploader.UploadPhotoAsync(); - + var tmp = ApartmentViewModel.UserSingleton.CurrentUser; + ApartmentViewModel.UserSingleton.CurrentUser = new User(); + ApartmentViewModel.UserSingleton.CurrentUser = tmp; } catch (Exception e) { -- cgit v1.2.3